US President-elect Donald Trump has thrown right-wing supporters for a curveball, siding with Elon Musk in support of H-1B visas for foreign workers.