Elon's tweet looked satirical to me, especially in context, but it was a stupid thing to post. Anyone who looks over Elon's twitter can see that he constantly trolls and posts stupid shit.
That being said, it was a really dumb thing to post. Twitter seems to be where the rich and powerful make asses of themselves.