Nintendo released the final game that worked on the OG Game Boy (as a dual GB/GBC game) in December 2002. So for the Switch 1 to last as long as that, we'd have to see a Switch 1 game released in 2030.
I doubt it'll happen, at least in physical cart form. But who knows how long people will be able to buy new indie shovelware on the eshop.