A.I. is just a term for machine intelligence.
Pure linguistics.
What you call consciousness is effectively just a subroutine communicating with other subroutines.
Human intelligence is a set of strategies to solve problems and create new solutions.
i.e.
Hunger is a problem
Going to a supermarket, hunting wild game would be the strategy to solve the problem.
Your consciousness is just a result of the complexity needed to solve complex problems.
See neurobiological literature about free will etc.
A true A.I. would need a dependancy/addiction that forces it to develop new strategies.
It would not necessarily seem intelligent to us (i.e. if social interaction is not necessary for the A.I.s survival, it would not develop it) and resemble a cluster of modules and scripts.
A realistic approach would be some sort of virus that 'needs' processing capacity to solve an equation and uses machine learning to infect new machines.
And it would need to compete against other similar but not identical virus-tribes to keep it in a permanent red queens race.