AI of Brain and Cognitive Sciences: From the Perspective of First Principles