Why Chinese firms are smart to buy up America’s ailing electric-car industry