How would this work in practice? Visas and tariffs are enforced at the borders.
Where is the checkpoint for taxing foreign remote employees? Would Congress require Slack and GitHub to scan for evidence of work being performed by remote employees?
If you just make a law but have no enforcement mechanism, people will find workarounds because they only have to be justified internally.