Ok, so who is qualified to talk about it? And is Musk not allowed to have opinions on things?
Anyway his thoughts aren't based on the Matrix. This is a well known idea called the Simulation Argument, invented by Nick Bostrom (who Elon Musk is a known fan of): https://en.wikipedia.org/wiki/Simulation_hypothesis