To me, it doesn't make sense for Microsoft to abandon console hardware. It is an integral part of their gaming ecosystem and is instrumental in driving sales for Game Pass. Xbox consoles have become synonymous with Game Pass, so it would be unwise to discontinue them. Additionally, the console should remain the best-optimized platform for playing first-party games, and it's unlikely that xCloud or any other alternative could match its performance.
If Microsoft were to abandon hardware, it's unlikely that Game Pass would be made available on competing platforms like PlayStation or Nintendo. This could result in millions of subscribers being lost, making it a risky move from a business standpoint. Therefore, it's crucial that Microsoft continues to sell hardware to sustain its position in the market and retain its loyal customer base.