US Chief Justice John Roberts urges ‘caution’ as AI reshapes legal field