Prosecutors allege man used AI to ‘scrape’ court website, then asked ChatGPT for legal help