IMO, consciousness is an emergent quality. Every organism is sentient in that it reacts to stimulus (see the slime mold). The more complex the brain becomes the physical sentience eventually becomes aware and intelligent consciousness emerges. This may hold true for inanimate organisms such as computers. AI is a very popular subject of research.