The facility will produce large batteries that will help electric utilities stabilize grids and use more renewable energy.