I read this story when I was a kid so it is at least as old as the 1960s. In this story simulcrasimulacra of humans (with electronic spines?) are driven to perform a drama for a human audience. The simulcrasimulacra have real feelings and believe that the actions they are undertaking are meaningful but ultimately the purpose of all their suffering is simply to entertain an audience. I can't remember the name of the book I read it in, nor the author. Can anyone help me?