A factory in Sacramento will be first in the country to make a new alternative to lithium-ion at commercial scale.