Xbox has been dying for 20 years now.
I know hating on Xbox is the approved take, but Microsoft isn't going to walk away from their cut of the console market in your lifetime.
Nope, Microsoft is going to let it wither and die a slow, undignified death as they drain every penny they can out of it.
It's been the strategy with their gaming software for years now. Buy up a successful studio, kill anything that made it successful, release half arsed sequels that are DLC'd, P2W'd and generally geared to maximise profit over enjoyment and when that is no longer working, sack any remaining staff and shelve the studio. Case in point, Bethesda.
They've already said they have no interest in making hardware but they still want branded hardware out there. So what they want is someone else to have the expense of designing, building and supporting the hardware whilst they control the brand.
It would be a mercy if they Old Yeller'd the Xbox right now, but they won't as there's still blood to drain from it and lets face it, the fanboys will keep paying because they're too invested, financially and emotionally to stop now.
The Playstation has the same problem with a few notable exceptions, Sony still does some decent games, they are still willing to piss huge sums up the wall and the Japanese government will never let Sony fail no matter how much they piss up the wall.