The automaker is partnering with Lithium Americas to develop the Thacker Pass mine in Nevada, where GM agreed to buy up to 100% of lithium produced for 20 years.