UK signs first AI risk treaty