President Donald Trump has signed an executive order stopping a semiconductor chips deal between the US and a company owned by a Chinese citizen.