New Zealand responded emphatically to their series defeat against South Africa by crushing Australia 43-21 in Sydney, highlighted by a masterclass first half and two tries from Beauden Barrett.