SpaceX gains 3% after surpassing Amazon in market cap