New Zealand PM Jacinda Ardern attended commemorations ahead of the anniversary of the landing of British explorer James Cook 250 years ago.