Ex-South African leader’s foundation regrets statement