Starbucks buys a bakery. Google buys a social network. And Amazon buys a book publisher.