China spent years accused of stealing American AI. Now it wants to protect its own.