President Ramaphosa criticized the US boycott of the G20 summit, calling it "their loss."