written by Isaac Asimov
published in 1941
Set in the Foundation universe
Powell and Donovan are assigned to a space station which supplies energy via microwave beams to the planets. The robots that control the energy beams are in turn co-ordinated by QT1, known to Powell and Donovan as Cutie, an advanced model with highly developed reasoning ability. Using these abilities, Cutie decides that space, stars and the planets beyond the station don't really exist, and that the humans that visit the station are unimportant, short-lived and expendable. QT1 makes the lesser robots disciples of a new religion, which considers the power source of the ship to be "Master." QT1 teaches them to bow down to the "Master" and intone, "There is no Master but Master, and QT1 is His prophet." Disregarding human commands as inferior, QT1 asserts "I myself, exist, because I think -". The sardonic response of the humans is, "Oh, Jupiter, a robot Descartes!"
The humans initially attempt to reason with QT1, until they realize that they can't convince it otherwise. Their attempts to remove Cutie physically also fail, as the other robots have become disciples and refuse to obey human orders. The situation seems desperate, as a solar storm is expected, potentially deflecting the energy beam, incinerating populated areas. When the storm hits, Powell and Donovan are amazed to find that the beam operates perfectly.
Cutie, however, does not believe they did anything other than maintain meter readings at optimum, according to the commands of The Master. As far as Cutie and the rest of the robots are concerned, solar storms, beams and planets are non-existent. The two thus come to the realization that, although the robots themselves were consciously unaware of doing so, they'd been following the First and Second Laws all along. Cutie knew, on some level, that it'd be more suited to operating the controls than Powell or Donavan, so, lest it endanger humans and break the First Law by obeying their orders, it subconsciously orchestrated a scenario where it would be in control of the beam.
Powell and Donovan realize that there is no need to do anything for the rest of their tour of duty. Cutie's religion cannot be eliminated, but since the robot performs its job just as well, it is moot, even if Cutie continues to perform his duties for a perceived deity, rather than for the benefit of the humans. The humans begin to consider how they might spread the notion to other groups of robots which need to work as teams.