The music recognition app reportedly cost Apple around $400 million.