In the 1968 classic science fiction movie “2001: A Space Odyssey,” a computer named HAL operated and monitored a spaceship bound for Jupiter. Everything was fine until the autopilot (HAL) went berserk and killed all but one of the crew. That crewmember survived by killing HAL.
To assume that an aircraft automation system has a will of its own and will try to kill us would be anthropomorphic. Autopilots and other automation systems have not reached that stage of sophistication. Not yet.