Despite the supposed "mystery" of consciousness, it won't be hard to reproduce in an AI. Take a general intelligence system, give it the ability to sense its own mental state (e.g. by feeding the output of its intermediate layers back into its inputs). Pretty soon it will start building a conceptual representation of itself and the evolution of that representation over time will be conscious self-awareness.