Thousands of commuters were left stranded after overhead power lines were destroyed after a truck crash.