AI-driven control of bioelectric signalling for real-time topological reorganization of cells