Genetic programming has been creating patentable inventions for 30 years. If you don't understand it, no problem. Chat GPT understands it quite well. Imperfect as it is, it's been credited by some software devs with a 100x speed up in hacking together bits of code.