This. Musk - perhaps because of his apartheid-era upbringing as a son of emerald-mine owners - loves the idea of slavery and indentured servitude.
When he was all abuzz about colonising Mars, he proposed loaning colonists the money to travel there that they could then work off on the red planet. People weren't too worried then, because they know it will never happen. Now he's got a legal means to treat people just as shabbily as he likes because he knows that anyone on an H1-B visa has no choice but to kowtow to his idiotic, whiplash-inducing whims or risk being deported.