<p>Western carmakers have been routed from China as EVs go mainstream. Now they are battling to avoid a similar fate at home</p>