No matter what business you are in there are going to acccidents and mistakes. The keys are: How many, and how does the company respond.
As far as responding, looks like Tesla is owning up the what happened.
I hope they are NOT sending him a car IDENTICAL to the one that was totaled. But I know what you meant.