Cyber-Physical Multi-Robot Systems in a Smart Factory: A Networked AI Agents Approach