I asked Makewera, one of the Kāpiti Island guides, what these were. He told me they’re the fruit of the Kohekohe tree.

notable for having characteristics normally associated with trees growing in the tropics … its flowers and fruit grow directly from the trunk or branches

Kohekohe fruit grow directly from the branch, and look like figs.