To pay for the deal, Musk secured funding commitments, including $25.5 billion of debt and margin loan financing. Musk is also providing an equity commitment of about $21.0 billion.