I have a problem with self-aware computers or robots. Computing is not thinking, no matter how many calculations per second a processor can perform. Computing is the electrical execution of instructions which can be made to simulate thinking in the same a way a movie on a screen is an imitation of the real three-dimensional world around it.
Thinking is abstractive, drawing immaterial concepts from material objects, therefore not reducible to the imitation binary mathematical calculations performed by the transistors of a microprocessor. I really hesitate to wander into this topic as it engages several branches of philosophy: philosophical physics, metaphysics and psychology.
To come at it from an angle: contemporary science excludes anything as provable that can not be measured in some way. Physical effects must be attributed to physical causes. It's an application of Phenomenology, itself a philosophy, that only things than can be perceived with the five sense are real. So any attempt to prove the existence of God by effects that could have only him as a cause is ruled out of court from the word go. Only things that are physical, that are in three-dimensional reality, actually exist.
But then you have the problem of a black hole. Everything that exists must have volume. It must occupy a space in which it is materially differentiated in some way. Black holes, however, have no volume. It's not that they have very, very little volume. They have none whatsoever. They occupy a mathematical point, which is an abstraction. All they have are mass with its concomitant gravitational attraction, and location. They are proof that matter can exist in a way that is semi-immaterial, non-phenomenological.
Then Energy. Contemporary science posits that Energy does not exist in a pure state but as something else: either radiation or matter. It is potentiality, capable of constituting anything that exists, but in itself has no defining physical characteristics. What the scientists who discuss Energy don't realise is that they have rediscovered the wheel. Aristotle 2300 years ago made the crucial distinction between prime matter and substantial form. Prime matter is pure potential, an ability to exist as something but which does not exist by itself. Substantial form is the shaping of prime matter into an object - any object - that can exist.
These realities we cannot imagine - by definition they are not imaginable - but we can intellectually grasp them. There are other immaterial aspects of material objects we can also understand, and this all leads to the conclusion that the ability to grasp immaterial realities argues a faculty that is itself immaterial, since the grasping means moulding one's consciousness to resemble the thing one is trying to understand. So there is an aspect of thinking that is not reductible to any material process, be it biological or mechanical. Hence, at the conclusion of Aristotle's De Anima, the existence of a immaterial soul in humans, principle of cognitive thought. No way a machine can replicate this.