The United States has banned some goods produced by two China-based companies seeking to stamp out forced slave labor practices in the U.S. supply chain, prompting Beijing to issue a warning to impose measures to protect the rights of Chinese companies.