SpaceX posts quarterly profit