The US government has been funding semiconductor manufacturing since Fairchild, which spawned two of the companies you listed.
Overseas cash reserves are a separate issue that can be fixed by removing the corporate tax. It should be 0%, we would all be better off if that were the case.