I think that whole question of Artificial Intelligence is actually asked in a wrong way.
Starting point is usually idea that we are our intellect and that what we need to do is recreate intellectual mechanism of human being. Then, someone can point out that human is not human if he has not emotions, and then maybe we could make some chemical system that would imitate chemical reactions in our body. We could even make some kind of body that will have all 5 senses and give informations to the brain. But it seems that more or less intentionally scientist are avoiding to speak about one fact, partly because science is not able to comprehend it, and it is still in domain of spirituality: awareness
It is quite normal and usual, and everyone can have this experience:
If someone meditates for enough time, person becomes aware that he/she is not his/her body and can objectively be aware of impulses and informations of his senses but knows it is not himself; it is not what he/she really is. Secondary one becomes aware of the flow of his emotions and able to understand mechanism of emotional reactions. Person can differentiate himself from his emotional being, control emotions without suppression into unconscious part of psyche.
Finally one becomes aware of his thoughts as a separate thing, becomes able to see their flow, as they emerge from nothing and then after few seconds disappear just to be replaced with other thoughts. Thoughts are like associative chains, coming after senses and emotions, as a reaction to them, or as a reaction to other thoughts, like chains. They can be restless and uncontrollable, or can bow to our will if we want to intellectualy comprehand something so we can solve a problem or get a better understanding of something.
So at that moment, if we are not thoughts, feelings, and our body, what we are? All is left is awareness itself, like some kind of presence without substance. This awareness has a lot of spiritual terms to be called, and can be experienced by everyone if they want to.
Unfortunately, on this level of scientific knowledge, we cannot explain it in a scientific way. There is no possibility to find a part of brain and show it, "yes, here it is, pure awareness, the very human soul", or do anything like that. We are unable to comprehend this in any way, because science is based on reason, on intellect, and experience can show that we are beyond intellect, and that human being just uses intellect as a tool, but is beyond that.
So even if we make machine that will have intellect, it will be just complicated program that will act like it is similar to human being, almost unable to distinguish from other human, but I doubt that it will have any kind of self consciousness, it will just pretend like having it, again based on programs given.