President Cyril Ramaphosa is the highest-ranking official to testify at an ongoing inquiry into corruption in South Africa.