To differentiate AI vs algorithm based things, think about it this way.
If you buy a software chess game for your computer, and when you start beating it like a drum it learns how well you play and plays better to level the field, that is AI.
When you have software that generates music based on loops assigned to styles (algorithm), that is not AI because it isn't learning to anticipate your expectations and adapting to your tastes to create better music.
If you pick a soloist and generate solos, there may be many options that the software can create, but those options will be finite. When you play a 48 number lottery, there are 12,271,512 of 6 numbers. That's a lot yeah, but it IS finite.
So if you are willing to spend $12,271,512 and spend the time to write out betting tickets for 12,271,512 combinations, you will win the lottery. I just hope that jackpot is at least $12,271,513.
I am not even close to good enough at math to calculate the number of combinations of all the thousands of styles and chord progressions, but it WILL be finite. Maybe hundreds of millions, but finite.