OpenAI CEO Sam Altman took the stand, rebutting claims of dishonesty and detailing his falling out with Elon Musk over control of the company.