This huge facility was established in 1960 by GM and called Fremont Assembly. Production was shut down in 1982 and the plant was idle through 1984, when GM and Toyota launched a joint venture – NUMMI (New United Motor Manufacturing, Inc.). This rebirth/partnership ended in 2010.
Tesla began production of the Tesla Model S in 2012, following by production of the Model X and currently also the Model 3.
Total peak capacity of the facility was estimated at 500,000 units annually when operated as NUMMI.
The video also contains Elon Musk's comments about the business.