Madrid has lifted investment caps on electricity networks, releasing up to €17.9 billion in fresh spending for distribut...