If that were true then MS would have stopped investing in anything that wasn't Azure and commercial cloud by now and would have dropped out of gaming some time ago. Gaming profit margins will likely never reach that of those divisions.
You don't invest in something just because it's bigger right now but for future opportunities. Azure investment was a opportunity and gamble years ago that really paid off.
There is a reason why Nadella have completely turned the focus away from focusing on consoles and instead targeting multiple devices and not selling hardware and software but focusing on services and streaming but we won't know for years if this gamble will pay off and they will see increased profitability.