That's easy to prevent. All "your company" has to do is move it's operations offshore to the foreigner's land...it's being done on what seems to be a daily basis here.
That option isn't available to most companies, unless they're in manufacturing. Even then, moving something like a bakery overseas won't work.