If you start the game with the -ai command line parameter, then whatever faction you choose to play as in the campaign should be controlled by the AI, just like the other faction. The campaign will be on auto-run with just the AI playing. (quite difficult to stop in my experience, you have to press "ESC" a couple of times before it snaps out of it).