GM and California, once foes, partner in EV push