For more than a hundred years, carmakers have boosted economic growth, giving workers good jobs and shareholders healthy profits. Now, the industry is under pressure to transform amid climate change.