For instance, MS bought the company that was about to make the best looking game at the time for the PC and made it xbox-exclusive for years. And they did a lot of "xbox-exclusives", that would have run better on their own f...ing OS than it would ever on the xbox. An OS people paid for. And considering "pro" and "ultimate" it wasn't that small of an amount.
The the diversification of the installed directx-versions by making the newest directx exclusive to their newest OS was stupid and destructive for the pc as a gaming machine as well. In order to lure some hard core pc gamers to buy their newest OS (we are not that many) they degraded the experience for anybody else. This made the technical game support even more to a nightmare than it was before, when every Windows still supported would get the newest directx.
Oh yes, the xbox-controller is available for windows. But the driver does not even support the f...cking power off button. Switching between wasd and the controller? Go to the menu of the game and switch the controller off or don't be annoyed by the force feedback-vibrations on your desk or take the battery out.
Yes, the decline in pcgames was partly because people don't want to deal with all the hassle before a game starts on a pc. And many are fine with a tablet for browsing the internet, so the pc basis was reduced. But MS did anything it could to make pc games even more frustrating. For short term profits.
But MS is not apple, they mainly sell Software. So I understand that they limit windows 10 to already paying customers or registered beta testers instead of the whole world.