Gov. Gavin Newsom said greenhouse-gas credits would fund EV rebates.