After 10 years the feature set and power demands are likely to have moved on significantly, even with the current relative plateau. Additionally the possibility of random component failures starts to shoot up rapidly, so while you could keep a device going that long and longer (assuming it survives) with battery replacements etc, you're still likely to miss out on a ton of features.
A good example are the unibody MacBook Pros, which are all now just about a decade old. Due to the fantastic modularity of these, allowing you to add RAM, SSD storage, change batteries, swap faulty components, many are still going strong. However, you are still stuck with a non Retina, non ProMotion, non XDR, display with poor colour accuracy and viewing angles, the core 2 duos in the oldest models are reaching their limits, and you lack other quality of life features brought by the new trackpads, newer Bluetooth and WiFi modules, Touch ID, upgraded speakers, the selection of ports on offer etc etc.