One research study used generative AI to design a potent cancer treatment, while another found the technology gave dangerous advice.