True from a naively pedantic POV, but also ignores that betting odds happen to end up efficient also. Like saying shopkeeps set prices to drum up business and aren’t subject to the principles of supply and demand.
Google is an advertising company, but as part of its strategic goals it develops a high quality email client that beat out competitors on its own. I bet you the Gmail team is full of brilliant people who don’t give a shit about advertising and just want to make an awesome email client and spend night and day thinking about just that.