If that were true, wouldn’t software engineers have trouble finding work? Also, see the effect of immigration enforcement on agriculture in some states... the premise that “you could find an American to fill any job if it wasn’t for visas” is flawed.
To fix a problem, you need to frame the problem correctly. And at least in the political sphere, money or talent is not even up for discussion. Even after the effects you mention.