NY seeks to regulate artificial intelligence