Drones the size of manhole covers are helping Spain’s biggest utility to squeeze costs of green electricity, spotting faulty solar panels and wind-turbine blades way ahead of engineers on the ground.