AI's have been possessed by Chaos before- the Caban Machine in the Horus Heresy series.
Before that, there was the Iron Men- robots out to destroy mankind, more like terminators than necrons.
Gaunts Ghosts encounter chaos corrupted versions of these in the first book.
So AI's aren't invulnerable to Chaos.