It was never 'legal vs illegal' nor is it about skilled vs unskilled - these were always imperfect proxies for the real debate, which is white vs non-white immigration.
Trump is incredibly crude, but he at least does not have (or perhaps, care for) the sophistry to disguise his preferences: Norwegians please, not people from 'sh1thole' countries. This is broadly the position of the nativist right, whilst Musk and the SV tech CEO's are capitalists at heart, so don't really care other being able to hire who they want when they want, insulated as they are to every other consideration outside of company success.
Masks are off, for both sides