For much of the past two years, China’s approach to artificial intelligence looked like the opposite of a walled garden. Its labs shipped models around the world at breakneck speed, and cheap, freely downloadable Chinese systems became a lifeline for small teams…