IIRC the large majority of their hardware (at least one tranche, they might have gotten more later) was Elon effectively stealing it from Tesla for xAI, saying “I’m personally doing Tesla a favor, since they can’t fully utilize it currently”, and is now renting that (stolen) compute to subsidize SpaceX.
Musk is a walking and talking financial fraudster and criminal and somehow keeps getting away with it.