If anything, electric cars have the potential to last incredibly long. Combine with composite or aluminum body and the body won't rust away on an otherwise perfectly fine car.
Yeah, I'm confused as well. Generally in a 10+ year old car you're looking at possible transmissions issues(or engine depending on the brand, hello Subaru).
We're just about to crack 100k mi and 5 years on our EV with no sign of stopping. From a power train perspective swapping motors is dead simple and you have no transmission. I still see good capacity at ~91k. There are electronics/accessories that will fail but that's no different on an ICE.
Anecdata aside, the average car gets taken off the road around 11-12 years due to body rot, not drievtrain problems. EVs are unlikely to be immune to that.
There's still some decent physical shielding of the underside of the pack(which runs whole body). It'd be interesting to see the long term impacts that would have on the frame/etc.