State approves $824M in incentives for GM battery, EV plants