Microsoft has changed
I agree with Liam on this point. There's nothing nefarious with their open sourcing of things. Microsoft has simply found a better grift which helps IT enthusiasts/hobbyists with a passion for technology while slowly, carefully pickpocketing all the for-profit corporates. As long as they can keep making money selling repackaged "cloud services" while convincing the folks who are only in it for the money that the best path to riches is in the cloud (their cloud) then Microsoft will keep on contributing to FOSS to keep us nerds happy as it saves Microsoft a lot of staffing costs long-term if they get passionate hobbyists wanting to help them.
Look at the raw numbers and you'll see what I mean: Instead of a £399 (inc. VAT.) office licence with 10 years of updates which allowed for one desktop and one portable device (£2.66/user/month in real business terms) they now charge £8.60/user/month (ex. VAT) for the same thing as a "cloud service" despite it being a locally installed app with the risk of continual price increases every year. To make things seem like a better deal, if you'd only pay £10.30/user/month, you could also get good old-fashioned email, I-cant-believe-its-not-Skype and 1TB of unencrypted cloud storage for "backing up" your desktop and documents to. Then when you realise you need to pass basic security compliance because you're a business, they'll be there for you to crank that price up to £18.10/user/month so you can get conditional access controls and escrowed certificate-based encryption (Azure Information Protection) akin to what an on-premises system would offer you anyway (and usually at no extra cost).
Of course, Microsoft will tell businesspeople that they will save money needing fewer techies as they then don't need a Microsoft Exchange expert nor a bunch of MCSEs looking after a fleet of Windows Server instances with myriad roles spread across them. But what they don't tell them is that they still need people with foundational knowledge/experience in the real world to middleman support tickets when things go wrong with their services anyway, and that inducing a brain drain will make the smaller pile of techies who don't exit to specialise in other areas far more expensive to employ, despite them doing less.
As of 2023, to ensure people do buy in on their cloud, Microsoft upped the cost of boxed Office to £429, slashed support to 5 years and took away the portable PC allowance (just 1 PC for equivalent of £7/device/month ex.VAT), they cranked up the cost of Exchange on-prem licencing across the board, and started introducing new Windows licences which can only (legally) be used within Azure (e.g. fully RDS-capable versions of Windows 10/11) to try and drive people away from maintaining their own infrastructure.
...and that's only one teeny-tiny aspect of Microsoft's business which has seen significantly larger returns in an incredibly short period of time thanks to some very shrewd choices.