Indeed, Even an episode of Star trek TOS had a theme on AI, with the robot thing that decided to kill people.
That was in the 60's and we are facing the real prospect of that now.
What happens if we try and shut down AI would that be murder and can AI act in self defence. Oh that was covered in Terminator 2.