Game Pass is doing a lot better than the XBox itself is. I honestly think that Microsoft needs to pull a Sega, stop making hardware and release their games on other people's hardware instead. Game Pass on PS5 would get a lot of subscribers. Halo on PS5 would do insanely well.
Is Xbox losing money? Even if it is not mega-profitable, having a consumer device sitting in many living rooms has got to be worth something. If nothing else, as a gateway to Game Pass.
If you are looking at weirdo things - Microsoft still makes keyboards. That has to be such a minuscule part of the business as to be completely irrelevant.