Microsoft has realised that the desktop market is basically tapped out (they took as big a share as they ever will and it's mostly going to decline as computing changes, it'll be a long slow decline but the writing is on that wall).
So they've doubled down on cloud services.
Where this is a good thing is for them to run those services and for people to trust them they have to be mostly be good actors - if they piss off the big linux distro's/upstream (as an example) the damage could be quite severe and while each of the clouds is happy to lock you in they can't forcibly lock you in since multicloud is something the really big customers (the ones spending millions up) actually do require.
I figure that what open sourcing .net, typescript, the github, vscode was/is all about - they want to keep making the shovels in the gold rush.
If that is the case then I've benefitted despite never giving a cent to Azure :).