The renewables shares in Spain’s total power production fell to 37.6% in July from 39.2% the month before, as the country continued to wrestle with high temperatures and heat waves.