But I know for a fact that since launch the Xbone and PS4 were profitable. They were never sold as a loss leader.
Especially now, after all 3 have been out for years, none are losing money. They are all profitable when sold and then infinite money machines by acting as a tax on developers and consumers.
If wide open hardware and appstore was a recipe for success Android would be a clear winner. However if you want to ship a title where you get the most out of the platform and you can rely on the platform to be stable from both HW and SW perspective then curating that space seems to be a recipe for success.
It's be really neat if all the console hardware was wide open, however there's a bunch of hurdles there that tend to lead towards curated platforms being more successful.
Take the switch, if you wanted to sell it as an "open" platform my guess is Nintendo would have to price it $75-100 higher. That's a huge shift in what consumers are willing to buy and my guess is it would be a lot less successful as a platform.