That would be as close to a declaration of war as you can get without firing a bullet.
The immediate and obvious response would be for the foreign branches of those companies to be declared "of national interest", nationalized and forced to keep operating.
>"nationalized and forced to keep operating."
Assuming there is no some kill switch which would render a whole infra including hardware inoperable.