The former friends and co-founders are now battling in court over whether Altman broke OpenAI's nonprofit mission and charitable purpose.