Apple has agreed to pay musicians for songs played on its new music streaming service after pop star Taylor Swift threatened to boycott it in a row over royalties. The Shake It Off singer, 25, said she would hold back her latest album 1989 from Apple Music in protest at the technology giant’s “shocking and disappointing” decision not to pay for songs streamed during a three-month trial period.