China is scrapping a limit on foreign ownership of automotive ventures, representing a major shift from policy in place for more than two decades, even as trade tensions simmer between Washington and Beijing.