Actually that analogy doesn't hold up all that well. In Star Trek, the Prime Directive applies to populations which have not yet invented the warp drive. Since the gorillas have already shown themselves capable of dismantling snares on their own, they've essentially demonstrated a development level that would make it OK to share "snare dismantling technology" with them.
(Wohoo, Star Trek discussion! On a completely unrelated note: Today sees the US release of Star Trek: TNG season 1 on Blu-ray, which is the result of a remastering effort of unprecedented scale, going back to the original film negatives of live action and VFX elements and essentially repeating most of the post-production process using modern technology - compositing, editing, the works. They've spent a double-digit amount of millions of US dollars remastering season 1 alone, and have dozens of people working in three shifts 24/7 to complete two seasons per year, including several veterans of the original crew. The effect is something as if you had to watch the show through a sheet of smoked, colored glass up to now, when someone has finally taken it away.)