Initial investment was
$33.5bn Musk and $7.1bn from other equity investors.
$1.89bn (~4%) from Prince Alwaleed
$1bn (~2%) from Jack Dorsey,
$500m from Ellison,
$300m from Fidelity,
... and so on.
Those numbers might have changed since.ps. Alwaleed has also invested $400 million into xAI