Musk has withdrawn the lawsuit he filed in February against OpenAI and Sam Altman over its for-profit AI development.