SpaceX topped Wall Street expectations in its first earnings report as a public company, posting $7.8 billion in quarterly revenue.