The actor posed with a trained chimpanzee for a photo and shared it on social media.