Global automakers have recorded billions in losses as the industry pivots from earlier electric-vehicle growth plans due to slowing demand in key markets and shifting regulatory and political ...