if its 3 years old it will have taken the biggest hit. ive seen 7 month old UK p100d service car with 9000 miles on the clock with a 39K reduction now thats a bit hit.
If your buying a CPO from tesla it should come with a 4 year warrantee which should help if you sell it on in a couple of years