Unless the AI can it’s own manufacture power from start to finish and all the machines to do it, it will all eventually just die from the lack of power.
Just pull the plug.....Is that not what happened to Hal in 2001, A Space Odyssey?