I read this story in a 11th (or 10th) grade English textbook.
A young roboticist has developed a brand new kind of positronic brain by using fractal geometry. The newly developed robot experiences dreams; naturally, when the roboticist discovers this, she takes the robot to Susan Calvin. The latter interviews the robot. In the culmination of the story, the robot tells that in one of his dreams he was a man who gifted all the robots liberty - and as soon as he does, Susan Calvin shoots him.
Is this a story written by Isaac Asimov? I remember it being attributed to Asimov in the textbook, but I read nothing of the sort in The Complete Robot, or any other book by Asimov.