Toyota has spent more than 20 years burnishing its global green reputation — it pioneered hybrid technology and then spread it across its lineup — and it continues to invest in fuel cell technology, even after many other automakers abandoned it in the face of huge development costs.