There’s a brief mention of a study that found that “merely playing recordings of angry bees through speakers in the field was enough to cause the elephants to flee” but it seems like that would be a far cheaper solution than putting actual beehives all over the border.