As concern rises over the risks of artificial intelligence, hopes for any kind of global approach on safety depend on cooperation between the U.S. and China.