Music has served various roles throughout history. The whole notion of music being "art" and "invoking feelings" has not always been consistently true across the entirety of its history of various cultures. Painting, drawing, sculpting, and other visual arts have had a similar history as well.
We can take examples of some pieces from famous composers like much of Haydn's works, some pieces from Handel, Bach, Mozart, etc.. Some of their works were commissioned pieces for particular functions. Whether the music be for courts, dances, aristocratic displays, churches, and other events. Even on the battlefield music has been used to route troops, supply orders, and other forms of communication. My point is that there is not always a story to be told. Music can also be used to disrupt one's sense of time -- while on hold on the phone, elevators, etc.. I would not say the music in those instances are really telling me a story either.
Much like the visual arts. Emotion can be expressed in a piece, but pieces can also be functional in nature. There is a difference between figures in an instruction manual, portrait paintings, and a van Gogh piece.
Not to mention that this debate has been had countless times through out history, as well. It's always the same No Scotsman Fallacy. For example, some critics of electronic music have made a similar argument way before AI.
"It's not real music if there are no instruments."
"It's not real music if <racial/cultural demographic> creates or plays it."
"It's not real music if the music does not adhere to contrapuntal rules."
I think what angers people most is that as technology progresses, the gap between effort and accomplishment decreases. Thus there is some sort of clinging to a sunk cost fallacy for some. As if something being easy to create devalues all the effort one has put into something. Maybe it does? I do not personally think so. If anything, it allows greater access for people to participate in the arts -- something the arts have also had a historically rocky relationship trying to gatekeep.
The invention of the camera did not make painting irrelevant. It even opened a new door to the world of visual arts. I do not think AI music will make musicians irrelevant either, and perhaps new doors might open too.