Xbox One is not exactly a benchmark. Besting Xbox One isn’t something to be proud of. Especially if you dropped support for your gen 8 hardware very early in the cycle, Wii U. That’s one way to look at it.
Another perspective, they released new hardware that plays to their strengths – handheld gaming and of coarse Nintendo is home to Leviathan IPs like Mario and co’. They did what they had to do to bounce back. Congrats.