Rich Rebuilds has covered this extensively. Sometimes he comes across a heavily damaged Tesla, still on their network that hasn't been disabled. Other times he comes across one with minor damage that has been disabled. I believe one of his rebuilds, he took some of the guts from a heavily damaged car that wasn't deactivated to transplant into the guts of a car that had easily repaired damage that had been.
I once rolled a vehicle in Nevada being stupid with friends. Airbags deployed. The radiator was crushed and leaking. We strapped the radiator support to another vehicle and bent it back out. Took the other vehicle into town and bought a radiator at AutoZone. Installed it and drove it an hour home. The steering wheel was only slightly off center.
A Tesla after a minor collision might disable itself entirely until inspected by a Tesla technician, and it might need a whole new (and very expensive) battery pack - no one would(or should) take a bet on such a car.
So it's a lot less attractive thing to buy over regular cars.