If immigrant (legal and illegal) are undercutting the industry by charging pennies for jobs that regularly cost a hundred per hour, then that is a problem with the industry, not with the unskilled immigrants.
I went to a vocational school to learn to be a wrist-watch repairman. I'm certified by both Swiss and American organizations. So why am I looking to change career paths after 8 years in the business? There's not enough people that have higher end watches that need repairing to justify doing this full time for the rest of my life. There's an Asian made movement out in the wild that I can buy 200 of at $1.50 each, which also powers 50% of all simple non-swiss watches in the world. This thing is plastic, heat pressed together, uses plastic form-injected gears, and does not have a single replaceable part on it. Got a little dirt in the gears? Replace it. Stem is broken? Replace it. In regards to high end companies, it took me 6 years to convince a Swiss company that I would be a good asset to help with their after-sales-service and obtain a spare parts account with them.
If the government is worried about Skilled Labor disappearing, then someone needs to provide incentive to companies to develop standards that allow laborers to get parts accounts with them, as well as have manufacturers of product create products that are repairable. This is obviously a multi-faceted problem.
So we need premium carpenters/coders/electricians.
In Australia right now, skilled tradesmen are making money hand over fist, and the skilled trades are rapidly becoming more prestigious than the lower end of white-collar work (see the Sydney Morning Herald's "Australia's Hottest Tradie" competition for more details...)
But this will never happen in the US because there's an effectively infinite supply of semi-skilled workers being allowed in by an immigration policy which is highly restrictive for high-skilled workers (who leave a paper trail when they get hired) and practically unrestricted for low-skilled workers (who don't).