Tesla guarantees the battery for 8 years or 192,000km. If the battery degraded to below 80% of spec, they replace it for free.
Meaning that probably 95% or more of their batteries still have a higher capacity at that point. Modern EV batteries are really good.
A car that's 8 years old or has 192,000km will probably have lost about 70% of its resale value.
How has the car held up other than the battery? You say it has wear and tear like a 10 year old car but that can mean drastically different things depending on how people normally maintain their cars and what kinds of environments they drive in (local to me in upstate NY we use a lot of salt on the roads, an average 10 year old car is likely going to be nearing to the end of its life due to rust issues whose repair cost may equal a substantial portion of the value of the car).