(Not nearly as spectacularly as Sun creating Java to spite Microsoft, and ending up commoditizing their hardware business. But I do not think Bing would look like such a good business strategy without the obsession of beating Google.)
When they release a freebie (like Chrome or Android), they force their new competitors in that market to follow their lead.
The browser's speed, instability and lack of proper standards implementations hurts them? ... so they release a super optimized browser with a clear design and with tabs running in their own process. Now Firefox, Opera and Safari (at least) will follow.
The mobile-market is too closed and becoming more so? So they release Android, a pseudo-open OS with an online-store that has more relaxed rules. And I'm pretty sure they don't need an Android-monopoly (as Microsoft is trying with everything they release) to achieve their goals.
Their strategy is not (directly) for increased lock-in (as Microsoft does) ... it's more for eliminating distribution channels / middle-men that might get in their way on reaching customers.
Note: the Wii is the only recent exception to this rule that I know of; the hardware has been sold at a profit since day one.
http://www.joelonsoftware.com/articles/StrategyLetterV.html