The new agreement builds on an earlier announcement in which the German automaker said it would invest up to $5 billion in Rivian, a maker of electric vehicles. The new venture brings them closer.
Ford is struggling to make money on battery-powered models while General Motors, which started more slowly, says it is getting close to that goal.
Mary Barra, G.M.’s chief executive, said that the company had fixed battery-manufacturing problems and that its electric vehicles would soon be profitable.
Ford will build large pickups at a Canadian factory that it had previously slated to produce electric vehicles, sales of which have slowed in recent months.
High prices and growing demand have helped U.S. oil producers take in record profits despite global efforts to spur greater use of renewable energy and electric cars.
A Jeep plant that closed last year will be among those that will benefit from federal grants meant to help automotive manufacturers and protect jobs.
The gasoline-powered Malibu was the last affordable sedan sold by Chevrolet, the General Motors brand, in the United States.
Shell and others say they plan to drill for oil and gas in the Gulf of Mexico in part because doing so releases fewer greenhouse gases than drilling on land.
Ford Motor attributed the loss in the fourth quarter to charges related to pension plans and a restructuring of overseas operations.
Trevor Milton, who founded the truck company Nikola, will be sentenced on Monday in a fraud case that exposed the excesses in the electric vehicle business.