This line of thinking is how you end up like Europe that today consumes goods and services produced almost entirely by large US tech companies. If you handicap the American tech giants this way, prepare for a world where the only remaining tech giants dominating globally are Chinese, Korean and Japanese (it wouldn't be Europe because Europe has already handicapped its businesses).
I'm honestly amazed that most people that don't realize that your country's businesses are in competition with all the businesses of other countries. A well meaning policy that would be good for your nation pre-globalization will handicap and disadvantage your country's economy now that globalization is the status quo.
Economic nationalism is a prerequisite if you want to live in an economically prosperous nation.