It will benefit Google in two ways:
First, it insulates them from encoder licensing fees going forward, and from decoder license fees if MPEG-LA decides to back off their free-for-web-streaming arrangement. It also means they're free to bundle the codec with Chrome.
Second, if you believe the publishing hype, it could save them up to 50% bandwidth. I doubt it's that effective, but at Youtube's scale, processing is cheap and bandwidth is expensive; every 1% helps. If they can reduce the number of storage nodes, bytes transferred, and by extension, open conns/sec, that translates to very real savings.
(I'm quite certain I'm wrong on this point, but I'm interested in learning why)
Eg, take a frame which has a solid chunk of blue. Codec 1 removes some of data to make things more consistent and then compresses it. Codec 2 looks at the output of codec 1, sees the consistently large blue area, doesn't see any info worth removing, and compresses it.
Unfortunately for that cunning plan, Google clearly sees more benefit from a codec that's compatible with the open web and open source than they do from licence discounts.