Sam Altman testified that he considered going to Microsoft to make 'a ton of money' during his ouster from OpenAI.