Yeah it will be very interesting to see how Nintendo handle the closing years of the Switch.
With smart bundling and price cuts, they could squeeze another 20-30 million out of it. I expect it's more likely though that they will follow Sony's lead with the PS4-to-PS5 transition and phase out the Switch relatively quickly in favour of its successor, so that their new system doesn't get cannibalised by its own parent.