A few turns into the campaign the AI stops doing anything and behaves as if it were unactivated.
I actually played quite a few turns without realising!
One time, when I was saving the game, a message box appeared saying something like: "the AI is not attached and there are no active players selected. Would you like to attach the AI?"
After I clicked the tick, the AI was active once again, which was a very noticeable contrast to the previous turns in terms of AI movement and attack.
Is there a way to trigger the above message box in the console/forcing the game to attach the AI?