China is retaliating against the latest chip sanctions by the US, banning exports of rare minerals to the US that are vital to semiconductor production.