Thousands of people across Devon and Cornwall have been left scratching their heads after their lights flickered.