The yearslong feud between Elon Musk and Sam Altman is now shifting from the courtroom to Wall Street as OpenAI pushes toward a potential blockbuster IPO.