Capital spending of $18.37 billion overshadowed a revenue beat at SpaceX, pushing Elon Musk's newly public company lower.