Google's goal is to make sure you see their ads. To the extent that having compelling free services helps, they're doing compelling free services.
But the goal is user eyeballs, not having compelling free services. So Google is perfectly happy to do other things that help ensure users will use said services.