AWS instances run Windows too. And MS makes money off those instances. Also, Azure runs Linux too. Microsoft is in the post-Windows phase and it's working on things that will keep it relevant long term
Agreed, they have even begun making good hardware outside of gaming. The surface range is hugely popular in the corporate scene.