Many of these license fees are done in bulk. The same with countries that automatically collect a tax on USB sticks and optical media. You pay a volume license, but it never filters down to the artists because it's not collected based on which songs are actually stored or played.
This is hardly all of it. There's a huge mass of corruption under the surface. Such as them not actually forwarding over license fees for song collections, or including songs they don't actually have the rights to include.
but anyway, something like that is how they'd get paid for music they don't own.
These arrangements were worked out back when "radio" was "disrupting" the live music and recorded music industries, and people were trying to "monetize" the "eardrums"