Anyone here read Asimov’s I Robot? It’s a lot of short stories about the development of robots in his imaginary universe. They were neat, pretty much sentient and self aware, had their own siliconic brains (not fully understood by anyone, really) and bound by 3 Laws of Robotics.
Anyway, in one of the short stories a particularly advanced robot becomes the first one to wonder about its origin. In the end, it decides that the core of the spaceship it lives in is the Maker, that it created humans first (notice how weak and imperfect they are!), then dumb robots (stronger, but still stupid), then itself (strong and smart). It also determined that the spaceship was the whole of creation, because the concept that the bright points on the black screen it saw out the viewports were anything other than a black sheet with bright points a few feet away. It was also abusrd to this robot that there could be an incredibly large ball of dirt called a planet. The robot was perfectly rational, believing only what it could observe, and making judgements on those observations.
So, what sort of basic flaws do our rational minds lead us to?
Also, I didn’t say Heinlein’s computer was malicious, just juvenile.