AI assisted with the study, which could make it cheaper and easier to produce these mind-bending drugs.