they are not “unproductive” :)
to answer your question - company should have a right to fire 99% of the people if they want at any point in time and there should be no regulation of any kind against that ever.
what america should do is add $250k per year per employee tax for any employee hired outside of the US.