Xbox is in decline because it made very clear you do not need to buy it for its games anymore (they'll go to other platforms as well). Also with leaving physical games behind, they have less retail presence that will hurt too. Finally it seems gamepass only grows on PC (if at all), so does not seem a reason to buy Xbox.
Switch still has the Lite that will soldier on for quite a while. Depending on the price difference with the Switch2, also the other models will still be in demand eventhough I believe the number of SKU's will be reduced.
I don't see how the Switch would not 'win' over the Xbox in 2025.