In times past, Governments could e.g. regulate the quality of coke, control election misinformation or forbid burglaries on their own soil, because they had law enforcement who could imprison people doing these things against the law. What happened outside of their borders was mostly of no concern to them.
If Coca Cola wanted to sell their products in Germany, they needed people in Germany willing to sell it, and those people were directly vulnerable to imprisonment by German law enforcement, so they had to care about and follow German law. Even if the original corporation wasn't involved directly, there were always vendors, importers, store owners and such, and all of them could be targeted to some extend.
Tech companies are different, you can make a product on the internet that interacts with the data of the majority of German citizens, without ever stepping foot in Germany or even realizing that a country called Germany exists and has laws. If Germany doesn't like the fact that this product exists, there isn't much they can do.
For now, most countries still have some semblance of control, usually backed by the power of international treaties, DNS blocking and control over payment infrastructure, but I wouldn't be surprised if the prevalence of fast and affordable satellite internet on one hand and easier access to crypto on the other will make the situation even worse.