Elon Musk has tweeted himself into serious trouble.