The OpenAI president revealed his stake in the ChatGPT maker during testimony in Elon Musk’s suit against the company.