The U.S. and China struck a deal that would allow American accounting regulators to inspect China-based audits and possibly prevent numerous Chinese companies from being kicked off American stock exchanges.