To that point, I'm linking here are a couple of images I took with my Pixel 2 phone while I was on vacation last year. The post-processing technology in the modern cell phone effectively compensates for intrinsic shortcomings in things like the tiny and shallow lens.
It takes multiple images at different exposures, detects edges/objects, and automatically composes the images to deal with backlight: https://i.imgur.com/01kVB3O.jpg
It simulates portrait photography by detecting which objects are close and which are further away, applying various levels of blur to several composed layers: https://i.imgur.com/M5h2q3r.jpg
In hindsight, I have no regrets using my phone rather than dragging along my DSLR on my vacation, particularly because I'm one of those ultralight "take only a 19-liter backpack" types. I just don't see the marginal benefit of whatever that bulky 15-year-old technology has over today's ML-enhanced technology.
But I guess your point was about longevity. For me, my phone serves many more functions than just photography, and so I feel that I get so much more out of it than just that one thing. In that sense, it's hard for me to tease apart the camera from the rest of what the phone does when I make the decision to upgrade it. I suppose I can give some signal there, in that I haven't found any reason to replace my Pixel 2 yet.