New Zealand's economy has shrunk for the fifth time in the past seven quarters, with an 0.2 per cent contraction in the period to June.