That depends. If it is an integral part of the song, the songwriter will often give credit to the session player. Otherwise, that’s part of the deal of being a session musician. You are paid up front for your work. But we aren’t talking about that. We are talking about composers. Session musicians aren’t composers, but I think you know that.
The Who didn’t actually play that fast keyboard intro to Baba O’Reilly, you know. It was a synthesized pattern.
It was a sequenced pattern, you mean. It was programmed by the composer to play exactly what they wanted. That’s not the same thing as having a computer compose a song for you, but I think you know that. And being that The Who composed their own music, I think you know the answer to the other question you asked as well.
And again, we aren’t talking about tools, which assist. We are talking about the computer doing the composing entirely. But you are correct, it is only an annoyance at watching people take credit for something they didn’t do. Thankfully, their lack of ability also equates into a lack of realization at how bad it sounds, and how unartistic it is.
I remember the first time I created something with Microsoft Paint. I was pretty proud of myself at creating “art” with it. But it wasn’t art, it was garbage.