This is basically how the drug analog industry works. Machine learning had been used for years before it was cool too. Its not like they ever give the patent to the ML library they loaded in some script though.
That's what I don't understand: Why would anyone want to try to get a patent for an AI. Let the machine crunch the numbers, test the most promising candidates as your "significant contribution" and patent the result.