Musk is a globalist, always has been, always will be. For Musk, if America First makes him money, then America First it is, until it threatens his Government contracts, sweetheart deals, and cheap labor. Truth is what you make it. Nothing particularly smart about importing huge numbers of people, especially as automation and AI kick in. And no, Indians don't make great tech workers, they make great yes men, some are mediocre tech workers, but they have very little in the way of American spirit unless you consider the robber barons to be great Americans.
Consumer Capitalism is the only thing that needs hordes of immigrants. But even that will fail under its own weight after a couple of generations of low IQ consumers. Yes we need a new way forward, but going back to growing populations to grow your market is just a dying system grasping at its storied past.