The emails clearly show that Elon had no interest on this being a non profit. Especially because he advocated for OpenAI to be absorbed by Tesla multiple times. The only reason he is suing is because xAI is dead and he needs some AI love.
He claims he'll give all the money to charity, but he's certainly asking for money.