The US and Chinese President have came to historic agreement over artificial intelligence and nuclear arms use