That's not really an analogous situation. The analogous situation would be another country asking a company located and incorporated in that other country for a copy of an electronic document that is under the control of that company, which they have stored on a server in the US. That company has remote access to the server and can copy/move the document without needing the cooperation or even awareness of anyone in the US.
I doubt that the US would object to the other country's government requiring the company to make a copy of the document and giving it to that government.
I doubt that the US would object to the other country's government requiring the company to make a copy of the document and giving it to that government.