Spain has set up a commission to investigate the causes of a sweeping blackout that paralysed the Iberian Peninsula, Prime Minister Pedro Sanchez said on Tuesday.