As China Rises, the US Builds Toward a Bigger Role in AI