US President Donald Trump said on Sunday he was prepared to mediate between claimants to the South China Sea, where five countries contest China's sweeping claims to the busy waterway.