Millions of people in Chile had their routines disrupted by an almost nationwide power cut.