Spain saw wind power become its main source of electricity generation last month, underscoring the country's progress in becoming one of Europe's greenest nations.