The New Zealand PM says she no longer has "enough in the tank" to do the job.