I am not sure I understand your meaning. Tony can confirm but I believe the RAV4EV drivetrain is the same as the Model S with software limited torque. I don't know, but I suspect Toyota's arrangement with Tesla included some warranty support for drivetrain failures. I recall Tony had his replaced and I know of a few others.
Yes, tephe Model S (not the P85, however) and Rav4 EV motors are the same. That means they also shared the same issues with the now coined "humming" noise. Yes, my Tesla motor, serial number 331, was replaced in my Rav4 EV.
Yes, manufacturers like to crush and extinguish cars that won't be sticking around:
GM - EV1
BMW - MiniE
BMW - ActiveE
Honda - Fit EV
I suspect that Toyota would like to do the same for the Rav4 EV. Originally, the first generation Rav4 EV was a lease only - crush at end compliance car. But, famously, some folks convinced Toyota to actually SELL the cars (ok, it was actually a paperwork snafu that allowed that) and ultimately hundreds of those were sold and many still remain.
So, this second generation Rav4 EV was sold, also, which means that there will be Rav4 EV's out there for a long time. The production, however, has ceased in September 2014, two years after they first went on sale. Almost 2600 were produced.
I further suspect virtually all the future hydrogen compliance cars will be lease only, crush at the end vehicles.
Starting in 2012, the "Large Vehicle Manufacturers" must sell a minimum number of California Air Resources Board - Zero Emission Vehicle (CARB-ZEV) qualifying vehicles for compliance in California:
Manufacturer - ZEV used for compliance:
Ford - Focus EV
Honda - Fit EV
Chrysler/Fiat - 500e
Toyota - Rav4 EV, iQ EV
GM Chevrolet - Spark EV
Nissan - LEAF
For model years 2015 and beyond, both large and intermediate vehicle manufacturers are subject to CARB-ZEV:
BMW - i3
Fiat/Chrysler - 500e
Ford - Focus EV, hydrogen by 2018?
General Motors - Spark EV, potential "200 mile EV moon-shot", hydrogen by 2018?
Honda - absolutley hydrogen
Hyundai - absolutley hydrogen
Kia - Soul EV
Mazda - Demio EV
Daimler/Mercedes - B-Class ED, Smart ED, hydrogen by 2018
Nissan - LEAF, eNV-2000
Toyota - absolutley hydrogen
Volkswagen - eGolf
Auto manufacturers that are NOT subject to CARB-ZEV due to their small size:
Tesla
Mitsubishi
Fuji Heavy Industry (Subaru)
Jaguar Land Rover
Volvo