Sydney’s world-famous New Year’s Eve fireworks could be cancelled if the NSW Police Commissioner thought rail worker industrial action would endanger the public.