GM's Detroit plant survives, but its EV plan is still a costly gamble