They WERE throaways for the first 10 years of smartphones. Every iPhone or Android release brought so many new improvements that last year's phone looked ancient.
Nowadays, we've finally hit diminishing returns and a 2 year old iPhone X is still about the same as an iPhone 11 Pro. It's become more like buying laptops. Therefore, we really need a way to repair these things.