It's like Google Code. Google didn't particularly want to be in that business, but Sourceforge was complete shit, and the open source ecosystem was key to their business. So they competed, seriously improved on the status quo, and when something better came along (github), they backed away, job done.
So leading this market doesn't matter to google. If they got completely outcompeted, I'd say they'd be delighted.