That last part is becoming less and less relevant .... someone is spying but it isn't for the benefit or under the control of a country. More and more, the spying is meant more for the purposes of commerce and finance, for money and control. For business interests which is what major governments mainly represent.
At this point, the line between business and government in the US is almost non-existent, so definitely still a government using your data for the propaganda machine.
So if an American company collects user data and sells it on the open market to a hostile foreign nation, and accepts money to run propaganda, that’s A-OK?