Then I don't need to educate you on how a trade-in works, but you missed my point.
Tesla makes money on TSLA value, so it is in Tesla's best interest to get cars sold. the number of cars sold in a quarter helps to drive their valuation in either direction. Therefore, what they offer you in a trade-in is irrelevant to what the open market will pay you for your car because their interest is in driving TSLA price up, nothing else.
The difference, obvious yet perhaps not enough, is that when you trade it into Tesla you will be leaving in another Tesla. If you were to sell the car to me, for example, you would be leaving with whatever amount we agreed upon in whatever form of a payment.
What would be more interesting, and likely prove my point, is to get a BUY offer from anyone of the places that will actually buy your car without forcing you in the driver's seat of something else. That's going to indicate something closer to the wholesale price of the car, as you know.
...then again, maybe Tesla has changed and they buy cars directly from the public without you leaving in another Tesla?