Union says it warned Ausgrid five years ago that job cuts would hamper bushfire, storm response on 'poles and wires'