Their annual revenue from the EU is only 17 billion dollars, as of 2021. The current fine is about a quarter of that. This is revenue, not profit. So this fine very likely impacted the bottom line for what Google is pulling out of the EU. And it was not even as big as they could've made it. It's very likely the EU refrained from the maximum fine amount because it would've pushed Google's EU operations firmly into the red.
And this is setting aside the costs of compliance to avoid more fines. Even if the costs are less than another fine, they're not nothing. You're looking at an entire year's profits from the EU essentially being wiped out by this fine, plus reduced profits going forward due to increased compliance costs and probably losing sales. And this is your best case scenario.
It would not take a 100 billion dollar fine to make Google leave the EU, it would only take another fine like this one.