Berlin's mayor says "left-wing extremists" placed incendiary devices to cause a power outage that has affected thousands of people in the German capital.