A high-stakes battle is unfolding in the courtroom as Elon Musk and Sam Altman engage in a heated legal dispute.