Anecdote: I've been a paying Spotify premium subscriber for the past 10 years. I finally switched to Apple Music recently. Why? My favorite song, from my favorite artist (well known, national U.S. artist) is inexplicably unavailable on Spotify - but available on Apple Music.
So maybe Apple is light years behind technically because they see it as a partnerships game as opposed to a technical game.