Having a great legal team doesn't mean you can't lose billions of dollars in court; as Monsanto/Bayer recently found out. The jury may not look favorably upon tech companies.
That's not an equal comparison unless you know of some internal leaked Tesla documents that show criminal negligence like in the RoundUp cases. Considering that every self-driving feature of a Tesla requires you to affirm that you accept responsibility for the car's actions, there would need to be intent shown on Tesla's part in order for something like that to be paid out. Even in the RoundUp cases, Monsanto is appealing.