The U.S. Commerce Department will begin gathering information on Chinese production of legacy semiconductors — chips that aren’t cutting-edge but are still vital to the global economy — as it looks to track how deeply reliant U.S. companies have become on the technology from China.