It might be that they used their tech Ascension Perk for Megastructures? Or it might have been a mod messing with them. Either way, the AE ai is clearly capable of doing so, if it manages to get to the point where it can. Plus, I suck at the game, and the AEs just roflstomp over the AIs.