As SpaceX prepares its long-awaited stock market debut, investors everywhere are scrambling to get a piece of the action—through investment funds, related company stocks, and even online prediction markets.