Self-awareness is not a fixed trait that we are born with, but a dynamic process that evolves over time through introspection and reflection. It’s the ability to recognize ourselves as distinct from the environment and other animals. Different species may have different levels and types of self-awareness, depending on their evolutionary history and cognitive capacities. For example, artificial intelligence (AI) may develop a form of self-awareness that is very different from ours, since AI does not share a common ancestor with us. It may be more or less advanced than ours, but it will likely be unfamiliar to us.
The mirror test (which measures whether an animal can recognize its own reflection as itself) is one test of self-awareness. However I agree this test may not be very reliable, as it assumes that all animals perceive and respond to mirrors in the same way. It may produce false negatives, where animals that are self-aware fail the test, or false positives, where animals that are not self-aware pass the test. We do not have a better alternative at the moment, but we should be cautious about drawing conclusions from the mirror test alone.
One animal that I think deserves more attention for its possible self-awareness is the octopus. This is remarkable, considering that it is a mollusk that diverged from our lineage very early in evolution.
I have personal experience with sociopathy in high-level positions (i.e. CEOs). My ex-spouse was a SVP for a Fortune 100 company and exhibited all the traits of a sociopath (and was aware of it). I share your concern about the risks of AI becoming self-aware. Sociopaths are often egocentric, predatory, reckless, and lack empathy, which can make them very dangerous. We must proceed with caution with regard to AI, it may bite us in the ass if we don’t.