All of this is focused incorrectly... and it's mostly wrong. Developers can and do sell XBox, PS, and Nintendo games on their own storefronts. Take Square Enix for example:
https://store.na.square-enix-games.com/en_US/hub/games Heck they even sell Mac OS games on their storefront. Whether it's a disc purchased from Walmart or a digital download coming from EA, the point is the MS store isn't the only place to get the software. The PS store isn't the only place to get software and neither is Nintendo's store. The App Store is the only place to get iOS software. That's why trying to compare it to XBox, PS, or Nintendo doesn't work.
What you're trying to claim: the software only works on it's own system, yeah that is true, but also irrelevant. No one is saying they want Apple's software to work on other devices or that they want other software to work on Apple devices.