The gain pushed SpaceX ahead of Amazon in global market value rankings and within striking distance of Microsoft.