EV batteries are expected to offer about 60-70% of capacity at 20 years. I think that's really good compared to general wear and tear of the car.
But let's go back to the original point, about being able to UPGRADE (not repair/replace) battery in the car. 20 years old car is worth like $1k-2k, which is fraction of the cost of the new battery.
While it's cool thing to do for hobbyists, it makes 0 economical sense.