The Megafactory will be the second making Tesla's giant energy-storage units, and production is expected to start next year.