Elon Musk withdrew his lawsuit against OpenAI, Sam Altman and Greg Brockman on Tuesday in California state court.