Distributed production of grid scale batteries is a profitable alternative to the Tesla Gigafactory