Thousands of customers remained without power in San Francisco following a massive blackout that disrupted traffic, shut down transit stations and, at its height, left a third of the city without electricity on one of the busiest days of the holiday season.