Meta-learning, social cognition and consciousness in brains and machines