I'm not saying you are wrong, but it's maybe too early to describe Google as an example of "market failure" or "pathology".
One could debate if it's fair (or legal?) to let one side of the business (search ads) subsidise another (gmail) in order to crowd out competitors.
But that is neither an argument for or against "capitalism".