Microsoft purchases Spotify, Google spins off Motorola