UK, US, China sign safety pledge at AI summit