South Africa could regain investment-grade status by 2028, potentially making it cheaper to borrow and helping attract investment.