This was explored (all the way to its grim dystopian conclusion) in tv series Dollhouse. Might want to check it out.
In season 1 of the modern adaption of Westworld it's the robot actors that don't know they are not real. The customers know it's not real.
If anything else happens in the books or the movies or other series I don't want to know.