If you increase the difficulty level of an AI opponent, the monsters will attack it. Same as with human players.
It always appears as though the AI is being spared--but I've placed stacks at AI borders and watched AI cities get munched into concrete rubble by monsters.