I wonder if GM ever regretted giving then upstart Tesla the old NUMMI factory in Fremont for literally a song. I think they got it for $81 million or something completely absurd. Basically robbed GM blind at that price. Tesla would probably never have made it this far if they hadn't gotten a completely operational recently used car factory for basically peanuts at a time when they had no money and no product, just Elon's hopes and dreams.
These days there are so much fake news on the internet, lots of honest people got confused and can't tell what's real what's fake.
I will try my best to described what happened surrounding the NUMMI deal, hopefully someone can correct me if I said something wrong.
The UNMMI factory used to be a joint venture between GM and Toyota (see Wikipedia). GM expected to learn lean-manufacturing from Toyota. Toyota gets a foothold to produce cars in the US. Everything was good.
As time goes by, manufacturing in CA becomes difficult. I remember one article talked about the difficulty to get high quality workers ...
In June 2009 GM pulled out of the joint venture due to it's bankruptcy, so it became Toyota's property. A few months later Toyota also wanted to get out. I think the 2008~2009 recession scared a lot of companies. They started to do strategic re-planing. For Toyota, producing in some other states has advantages, they really don't need the UNMMI.
Although the plant was valued at $1B, selling it was not easy. Nobody wants to do car manufacturing in CA, you know the reasons.
At one point Toyota wanted to give the plant to the city for $0. But the city said no. They said Toyota has to pay a few hundred million dollars. - I read this part from an article. It makes sense to me. To Toyota, the plant is a burden. They have to pay a lot of property tax every year, while not producing cars.
Right at this time, Elon was looking for a plant, so they started to negotiate with Toyota. In the end Tesla got the plant for $42m (that's all the money Tesla had). I think that deal went through not because Toyota wanted to sell it cheap, it's because they really can't sell it at any price.
As part of the deal, Toyota bought 50 million dollars of Tesla stock, and Tesla helped Toyota on an EV - battery powered RAV4. Tesla supplied batteries and drivetrains. If you consider the stock gain Toyota got on those Tesla shares, the whole thing was a great deal for Toyota.
I suspect later Toyota and Mercedes realized that EV is not good for their business. They both sold their Tesla shares with huge profits. Toyota regularly makes $10B net profit from ICE cars per year, they have an edge producing ICEs. If the whole industry moves to EV, their profit would shrink a lot. So they started to say EV is not the future, Hydrogen is.
Overall the UNMMI plant was a fair deal for both sides.
Knowing how Elon does things, I think Tesla would still get this far without that UNMMI. Look how the Gigafactory2 started in Buffalo.