Thankfully we have grump on board who is more knowledgeable than most posters and publications.
"Tesla put a new drive unit (motor, "transmission", differential, and inverter) in my Model S at 7 years 10 months. No charge."
"The "good will" warranty was the result of a class action lawsuit and Federal nosing around."
Per Tesla Motor Club...referring to the Model S Class Action Lawsuit...first reply:
"After my third drive unit failure in less than 100,000 miles, I'm checking on a class-action against Tesla. This equates to a gas car blowing an entire engine every 33,000 miles. The Tesla shop will not provide the old DU even after a non-warranty repair, because they say "Tesla owns the old parts". I can never get a failed drive unit for an expert failure mode analysis, but having seen others who did this they report a consistent finding: Tesla mis-engineered the seals allowing coolant to leak into the DU over time, causing failure consistently, basically a guarantee. Failure in my case was sudden and catastrophic with no warning, while driving down a busy highway. This dangerous fault is also a major profit source for the repair centers which is something Elon Musk was absolutely adamant would not happen."
Now...wait for grump's hysterical reply! Keep the entertainment going! (Need a shovel?)