A program, led by California and copied by other states, in which electricity used for EV charging earns tradable credits that fuel suppliers must buy, adding revenue for charger owners.