I admit that I have also wondered whether there is any allusion to Elon, mainly because he is a notorious eccentric CEO.
Nevertheless, I have been amused by this movie much more than I assume that most of its viewers have been, because Miles Bron, more than resembling what I know about Elon, had an uncanny resemblance to the CEO of a startup where I have worked some years ago.
The resemblance was complete, in behavior, in speech, in the dyslexic words invented continuously, in the content of the fax messages with product feature suggestions (though my CEO used e-mail, not fax).
So I wonder how many such CEOs exist and whether the script writer has completely made up the Miles Bron character or he has indeed used a real-life CEO as inspiration.