The Construction of Reality in an AI: A Review