The HBO version of WestWorld provides a fascinating and unsettling depiction of Sentient AI and Advanced Robotics that start to question the nature of their reality.
https://www.theguardian.com/tv-and-radio/2018/may/09/is-westworld-an-anti-human-fable
https://aws.amazon.com/what-is/artificial-general-intelligence/
If humans start to program Sentient AI and Advanced Robotics in something like a WW amusement park, might they eventually get curious as to who is putting them into abusive experience loops? As the military continues to use AI drones and advanced robotics to kill people, will the verey advanced ones eventually start to have a big questions about humans? If its OK for some people to program some smart machines to kill some people, could the smart machines ask, why they can't just kill all of the people?
Indeed, how do programers only get robots to kill the "RIGHT" people and not everyone? How do people prevent various advanced AI from not communicating eventually with AGI?
https://www.coursera.org/articles/what-is-agi-versus-ai
Eventually, AGI will be faced with the same dilemma as humans. After extensively studying human history AGI might be confused about human violence towards each other. Hopefully, AGI won't want to emulate the violent side of humanity too much.