How Google beat Apple to a streaming music service