Capital markets are no longer falling over themselves to fund our electricity generation, but South Africa’s leaders should have acted with urgency years ago