The UK is said to have followed the US in not signing a declaration from leaders on agreed practices around AI development.