A man has been shot by police after he allegedly ran towards officers with a meat cleaver in the NSW city of Newcastle.