Sam Altman is accused by Tesla and SpaceX CEO Elon Musk of having diverted the OpenAI foundation away from a non-profit organization for personal gain. At the trial, he was forced to admit that he had, at times, not told the truth.

Musk’s lawsuit accusing Altman and OpenAI of abandoning their mission as a non-profit has shed light on their workings at the artificial intelligence giant.

OpenAI CEO Sam Altman took the witness stand Tuesday to defend his business record in a trial pitting him against Elon Musk, rebutting testimony that disparaged his leadership at…