There is a video on YouTube made by Kurzgesagt that somewhat covers that subject.
Personally, I believe that something is considered "living" when it has 100% the potential to gain consciousness. I mention this to include unborn babies. Although (in my eyes, anyways) they can't think freely, as they are just a cluster of zygotes, they have that potential to gain consciousness, once they are born and learn more about their world. Robots can't do that, since they are merely programmed with knowledge, but cannot think freely by themselves, and probably never will be. That is what separates the living from artificial intelligence.
If human clones were to be created, they probably would have consciousness, since they are exact carbon copies of a regular human being.
This is my personal opinion...
But I don't think we think freely, either. I think the only real difference between current robots and humans is that our neurological circuitry has thousands of years of evolution on it's side. Robots are programmed with a limited number of logical pathways. Humans are also, but we have many, many more of them and so our greater range of options may give the illusion of free choice rather than more choices.
For instance... Imagine if a robot is only programmed to be able to go north, south, east, or west. Tell it to follow a rabbit and no matter how fast the robot could go, it will have a difficult time because the rabbit has more options of movement.
Reprogram that robot it now be able to travel north-east, north-west, south-east, and south-west along with the original cardinal directions, and it has an easier time. It now has more options and it's movements are less clunky.
Similarly, the computers of today can "think" far better than their most distant ancestors. The computers today are approaching a resemblance of the fluidity of actual biological autonomy. The more option we program into them, the greater this will become. From my perspective, I ask myself the question "Was mankind, animals, and all their associated relatives and ancestors always autonomous, or was their a point where they, too, were in a state that would be considered non-organic and they became organic and then they became autonomous? If so...how? And if so...couldn't this process be repeated, especially when humans are effectively expediting the process of evolution by trying to intentionally create things that are autonomous?"