OpenAI CEO Sam Altman testified that Elon Musk was obsessed with trying to control the artificial intelligence company.