Europe doesn't have that same level of power. If tomorrow morning you banned Microsoft, Google, Apple, Amazon, Salesforce in Europe, you'd destroy their economy.
What Europe needs to do is create the conditions for tech companies to emerge that could truly compete against US big tech. As long as European will prefer working for US corporation, there's no chance for Europe to compete. Simple as that.