It is not just the revenue they make from EU. Closing the shop in Europe would leave the market for somebody else. With such a large market left for others, some competitor could gain significant momentum and threaten Google's position in US and other places as well.