How brain-inspired AI and neuroscience advances machine learning