When I visited New Zealand 3 years ago, Kiwi Rail was under electrification.
It would be effective to electrify just around Auckland to supply electricity only for commuter trains.
It won't be cost-effective to supply electricity few long-haul trains.