Once Nintendo abandons support for the Switch and they stop manufacturing them, what happens in the future when the batteries no longer work decades from now? This is even a problem for the controllers, as they too have a battery with a finite lifespan. Obviously Nintendo doesn't want you to play 30-40 year old consoles that barely work anymore, but I'm sure most of us here will still want to be able to play these games with our grandchildren or at least pass them down so they can play them in the future.
I can't speak for the technology of the Series X/S and the PS5 because I don't own them but usually when I buy media and hardware, the goal is to keep them working for as long as humanly possible.
And the fact that I have to charge my Switch before I can play it really sucks. I hope Nintendo releases a docked-only mode of the Switch for people like me who don't care about portable gaming.