My understanding is that Tesla is leveraging long-term contractual lock-ins in various shapes. One particular one I heard was that in exchange for fronting some of the up-front cost for the mine Tesla would retain the right to buy X% of the mine's output at a maximum markup of Y% over cost to produce.
This kind of contractual lock-in can achieve the desired goal without using either of the mechanisms you listed.