NYAG outlines benefits and risks of AI in anticipation of potential regulation