The US and China are vying for AI supremacy while seeking to keep it under human control.