The US and China have signed an agreement on trade, President Donald Trump said on Friday. The deal will give US companies easier access to rare earth minerals vital for high-tech products, while Washington will stop revoking the visas of Chinese students on US campuses.