Iran has warned major U.S. tech firms like Google and Amazon, classifying them as 'legitimate targets,' amid rising tensions over foreign influence.