Ironically I think this IS actually a useful function for AI.
Problem with filing a patent is that it's expensive to search for prior works etc, before you even try to file a new patent.
Now if you set up an AI service to "Pre Screen" the application? You could charge anyone $100 to compare their application to the existing database, and maybe spit out the 10 most similar for closer inspection. Filtering for real (and on topic) patents would of course be needed, but that can be built into the system. Applicant could then revue those matches and decide if they had a new and valid patent, or are too close to an existing one, and they should give up at that stage.
Might save the patent office a lot of work, potential applicants a lot of money, and actually earn some cash for the AI company.... Assuming they were officially approved, given direct access to the database, and were given a link at the start of the patent application front page. (All non cash "compensation" from the Patent Office point of view)
Will it actually work? Yeah, I have my doubts, but the idea isn't totally bat crap crazy.