The South African government has not invested enough for renewable energy to contribute to long-term economic growth.