China signaled it would respond if needed to the Biden administration’s executive order to restrict U.S. investments in advanced Chinese technology.