Under pressure from trade tariffs, new CO2 rules and even Brexit, carmakers around the world are electrifying.