Spotify, the music streaming service, said Apple used its App Store to undercut companies that compete with its own services, like Apple Music.