When I realized that, I came to conclusion that Tesla Motors could be viewed as merely a stepping stone on the way to building a Gigafactory.
When demand for batteries is low, a low-volume battery factory has to share its suppliers with other clients, and those suppliers will price their risks and profits into the deal, multiple times along the chain. On the other hand if you have enough volume to justify having the entire manufacturing cycle under one roof, from ore to ready packages, all those markups go out the window. It wouldn't surprise me to see overhead going from the staggering 500% to a more moderate 50%, but only as long as there is enough demand for all of those batteries. Which is why you need cars - they consume a lot of energy.
By now it's pretty much certain that Tesla will be the first to build a Gigafactory. The interesting bit is whether Musk figured out a way to make sure no one has the ability to build a competing Gigafactory and commoditize the business. Right now only Tesla itself can generate enough demand, so they are pretty safe. If Musk can convince the other car manufacturers to buy batteries from Tesla, it will kill the incentive for anyone else to build a competing Gigafactory for a long time. So at the least Musk needs to appear non-threatening to other car manufacturers, and perhaps the best move would be to split battery division away from Tesla Motors completely.