Shazam! Apple buys music recognition app Rivalry against Spotify and augmented reality ambitions are two possible reasons for the takeover. Source