Stricken renewables developer Abengoa has sold to Masdar its stake in Shams1, the largest operating renewables plant in the Middle East.