Shares ended the day at about $161 a share, up 19%, making SpaceX the sixth-largest U.S. company, though the final settlement price had yet to be determined.