The rational thing to do, which goes against the xenophobic tendencies of the general public (they are taking our jobs), is to do what every growing economy has to do: grow the labor market by providing access to willing labor from outside that market. Whether it's slaves, illegal immigrants, or simply making it easier for migrants to enter legally really does not matter as long as people are able to get to the jobs that need doing.
There's work to be done and there are people willing to do the work. Bring them together and the work gets done. Cut off the labor supply and you get issues with businesses struggling to get things done. Unless of course they can afford to pay market rates. And with inflation being a thing, those market rates are going up, not down.
The US has imported lots of cheap labor from abroad pretty much throughout it's history and especially during its boom periods. Sometimes as slaves, sometimes as refugees, and sometimes just by providing visas to those who wanted them. It wasn't always pretty of course but there are now large communities of people in the US with roots pretty much all over the world.
There's no shortage of people looking to get visas to work in the US. Just an artificial shortage of visas. How many million people do you need? They are there. At any skill level. All you need to do is let them in.