It's funny, I had the opposite experience - Spotify understood my taste while Apple Music didn't. (Specifically, Apple Music pushed a lot more Hip Hop/R&B music than I was used to - this was in early 2016 mind you so things may have changed since).
I like each for its own reasons, though if I had to choose one forever, I’d probably pick Apple, but it wouldn’t be by a landslide. :)
Would be cool if I import my detailed listening data from Spotify into Apple Music and basically pre-train their recommendations for me to conclude if it’s better/worse than Spotify’s.