The fix is rather simple really. Minimum salary for H1-B visas is $100k/yr.
If you have a magic wand, what are you doing wasting your time posting on Slashdot? Why aren't you out there reshaping the world the way you'd like it to be?
I'm too smart for politics. :)
What you think would happen by passing a law like this is probably quite different than what would really happen. Think of the $15 minimum wage and things like fast food kiosks, mom & pop corner stores shutting down while Walmart grows bigger, etc.
The purpose of the H1-B program is to allow workers to immigrate if the demand is high for their skills, but the supply is low. Basic economics says those jobs should pay a high wage (supply and demand). Therefore, my proposal will do exactly as it is intended. Any other type of law will have unintended consequences. These jobs will not be automated, because by definition, they can't be.
I suspect the H1-B laws are written the way they are because it protects one type of high paid worker from being replaced by talent from overseas. That high paid worker is called the CEO.