I used to work at Microsoft, so take this with a grain of salt, but the company really runs (or at least ran) like a bunch of smaller companies than it did like one giant corporation. There were people in leadership in some verticals that really detested the way other verticals ran. E.g. none of us in the web side of things would touch an architect that came from the Office team.
So it may be possible that the teams releasing OSS have relatively good motives while the people running Windows have relatively misguided ones. Different verticals have different-- possibly conflicting-- aims.
Personally, I think we can encourage the right behaviors and discourage the wrong ones. Use their OSS stuff, don't use their closed source/adware stuff. I don't think I'll be using Windows again (unless something drastic changes), but I do use VSCode, and I'd love to use Visual Studio again, if it ever arrives on Mac/Linux.