SpaceX shares have declined in 10 of the past 12 trading sessions amid a broader sell-off in artificial intelligence-related stocks and after the company aborted a launch of its Starship rocket due to an engine issue.