YouTube has long been the world’s most popular music service—and one of the music industry’s biggest headaches.
Now amid increasing competition from Spotify Technology SA and pressure from music companies, the Alphabet Inc. unit will try to persuade people to pay a monthly fee for an unlimited supply of music.
But the service will be primarily...