Musk lodged a suit against Sam Altman and OpenAI for breaching their original covenant that puts humanity over profits. Musk sees himself as the savior of humanity and doesn't want to play second fiddle to anyone, especially a young upstart like Sam Altman, who also sees himself as the savior of the world but would rush the process by first fleecing the world for trillions of dollars to fund the research
Source