The loan will help the automaker and its supplier build electric vehicle battery factories in Ohio, Tennessee and Michigan.
Tesla said it expected capital expenditures to be $6 billion to $8 billion in 2022, up from an April forecast of $5 billion to $7 billion.
The world’s largest maker of electric cars struggled with production problems in China.
A scarcity of semiconductors and raw materials held back production, but buyers remain enthusiastic.
Makers of batteries that could charge in a few minutes are setting up assembly lines, bringing the technology a big step closer to auto showrooms.
The decline in deliveries by the electric carmaker in the second quarter was the first drop since the beginning of 2020. The main reason was factory shutdowns in China.
Production problems in China and Elon Musk’s pursuit of Twitter are leading investors to wonder whether the electric car company is worth as much as they thought.
They’re quieter and better for the climate. But snow and water create new technological challenges for designers.
The Tesla challenger said it continued to have problems finding needed parts.
The electric carmaker had to close an important factory in Shanghai because of China’s efforts to stamp out a coronavirus outbreak.