It's not solely for Google's benefit. They're ("we're" tbh) contributing data that improves services that we use. It has additional selfish and altruistic benefits beyond feeding the Googly beast.