How long can you use a car in a meaningful way? (Lifetime)

Hello together, I remember that our cars in the 70s-90s were mostly through (rusted…) after a few years. Since the years of construction > 2000 they have generally held 10+ years (with a few kilometers) without major flaws. If you don’t put it on to drive an older car at all costs and is not even the great screwdriver, but simply a cheap still relatively reliable car – how long can you then the cars of the last years in general for example, a VW UP of 2014 with 60ps petrol and 100,000 km on the clock. (how likely) Does the next 10 years and still 100,000 km? thank you, Andy