Chemicals designed to simulate honeybee alarm pheromones could deter elephants from farmers’ crops, easing conflicts with humans. Annie Sneed reports.