Duke Energy said the work will help keep lights on for its more than two million customers, especially after hurricanes.