Those countries simply forbid competitors from selling in their domestic markets.
EU regulations apply equally to EU and non-EU companies, so they won’t lead to homegrown tech champions. More likely they will cement the dominance of US tech giants because they’re the ones who have the resources to follow these regulations.