The electric vehicle revolution that promised to transform the automotive landscape has stalled, leaving the world’s largest carmakers nursing combined write-downs exceeding $60 billion.