AI battles for programmers are real already. Just play screeps -- a "MMO sandbox game for programmers"

"It means "scripting creeps"
It's an open-source game for programmers, wherein the core mechanic is programming your units' AI. You control your colony by writing JavaScript." -- https://screeps.com/