A retail bond that helps finance South Africa's ambitious renewable energy drive has raised R4 billion ($394 million).