China has announced a ban on exports to the United States of key high-tech materials with potential military applications.