Google and Facebook have a lot more to lose than the EU in this regard, which is why they will eventually submit to whatever the EU deems reasonable.
They are never going to withdraw from the EU. The money they would lose would be immense.
The fact that people think Google and Facebook have this kind of power over a developed market of 500 million people is hilarious.