Elon Musk made ‘hair-raising’ demands for control of OpenAI, Sam Altman testifies