The Tesla did not hit the white car. It was hit from behind only.
I know, I already pointed that out! It was very clear it was no fault of the white car.
Sure as heck was not the fault of the cars in front though. Tesla needs to leave greater following distance [if] he wants to have any chance of avoiding a collision like this. Though there are no guarantees.
I actually revise this slightly. Following distance was ok, could have been better, but it wasn't the main issue here.
Not sure what alternative you were thinking? The Tesla was able to stop in time (AKA they left enough following distance to do so)
Yeah, they were following at a workable distance, just under 2 seconds, though it is much safer and preferable to be in the just-under-3-second range.
However, the issue here was the incredibly slow reaction of the Tesla driver - they waited over 2 seconds to brake significantly (about 2.5-2.7 seconds) ! You can see the instant of heavy braking based on when the car suddenly angles downwards, and when the distance to the car behind rapidly starts changing.
Brake lights (which were very predictable - other brake lights and veering were visible further ahead at 2 seconds) come on around 2.7 seconds:
Tesla brakes at 5.4 seconds, maybe as early as 5.2 seconds, a little hard to say exactly. But the dive is pretty clear, followed by rapidly closing traffic to the rear.
So there are a few things you can do as alternatives to avoid a collision (or Tesla AP/FSD, which isn't really applicable here, since this reaction time was way too slow for this to be AP/FSD):
1) Increase following distance to 3-4 seconds (more if traffic conditions allow!) if there is reason to believe traffic will be slowing. This greatly increases room to operate. It also allows a better view of what is happening in front of the lead vehicle.
2) Offset lane position from lead vehicle (usually to the left slightly, though to the right is also possible with sufficient following distance). This allows you to see further ahead as well
3) Brake promptly, smoothly, and slowly when you see people in front slowing. This gives time to assess the attention of traffic behind you and allows you to reduce closing speed for traffic to your rear.
4) Watch traffic in the rear, and if they do not appear to be slowing, speed up to use your available buffer (remember your large following distance), and change lanes if possible. You can even flash your hazards, since you have time. When my car was new I avoided a rear end collision this way (though I was stopped at the time, I left a large buffer to the vehicle in front which allowed me to change lanes and avoid the car screeching to a halt in the location I had just vacated).
I do the above all the time when driving in LA or San Diego traffic, where there are frequent slowdowns. I flash my hazards whenever it's clear that traffic is slowing in an "unexpected" manner.
As I said, there are no guarantees for rear-end collisions - but you can try! Slowing down how quickly things happen improves your odds.
The only accident I have had as a driver was my fault. When I was a brand-new driver, I unexpectedly stopped past the stop line for a red light (left turn lane and the yellow was shorter than expected), and was rear-ended. It wasn't technically my fault per insurance, but it was definitely my fault. You have a duty as a driver to prevent people behind you from running into you if possible! Some of the steps above can easily be implemented by any driver, and also by Tesla.
Being hit from behind is often avoidable.