Human-wildlife conflict has driven the decline of once-abundant species and is pushing others to the brink of extinction.