Closed-Loop NeuroAI