A chimpanzee's tool choice for cracking nuts depends on its community. Sophie Bushwick reports