"Apple Music and Shazam are a natural fit, sharing a passion for music discovery and delivering great music experiences to our users," Apple said in a statement. Apple that it would buy leading song recognition app Shazam in a fresh bid to secure an edge in the intensifying battle of streaming services. Shazam only recently said it had become profitable thanks to advertising and to steering traffic to other sites such as Spotify and Apple Music. Tech battle turns to servicesApple, which revolutionized online music a generation earlier with iTunes, in 2015 launched Apple Music as the market turns to streaming, which offers unlimited on-demand listening. Retail giant Amazon seized on its vast consumer reach as it launched its own streaming service last year.