Artificial intelligence beats us in chess, but not in memory