The move, which is aimed to protect supplies of technology, could raise tensions between the EU and China.