The San Francisco skyline went black after a fire at a single local substation that had been the site of two previous blazes.