After soaring in its stock market debut, the shares of Elon Musk’s rocket and A.I. company have been rocky.