The Port of Newcastle in New South Wales, long defined by coal exports, is taking a decisive step towards a diversified and low-carbon future.