I am of the opinion that the majority of modern cars produced today - especially as you go higher up the price/luxury spectrum - are disposable appliances designed for obsolescence. The base mechanical bits might continue to function fine, but all the fancy technology won't be so fancy after 5 years, and certainly not 10 years.
I think Teslas actually let you upgrade the CPU on the infotainment system (correct me if wrong)? Plus wider spread and use of CarPlay/Android Auto bakes in a little bit of future-proofing.