China warns the U.S. it's ready to fight back against restrictions on tech investments