This will be an Issue that will be highlighted very soon. We'll see a huge devaluation in secondhand Tesla cars, since replacing the battery will be more expensive than replacing an engine in a car (I believe), plus it'll have to be done every ten years - while a car can keep the same engine for decades, especially when some of the wearables like timing belts and seals and such are replaced.
I hope Tesla will recognise this too and do something about it - battery replacement programs, preferably where they can replace batteries with higher-capacity ones as time goes by.
I don't see how owning a car in full can work for electric cars, not when the battery needs to be replaced every ten years. I don't know what the lifespan of the drive unit is either.