The United States and the United Kingdom have just signed a deal to cooperate on safeguards for artificial intelligence. The agreement also allows the two countries to share information about AI capabilities and risks as the technology moves ahead quickly.