They made a machine learning model that was supposed to help find and design molecules/drugs that weren’t harmful to humans. Someone else just took that model and inverted it. It generated some existing already known very dangerous chemicals, but many new ones that are likely to be more dangerous. Of course that assumes someone can even synthesize those.
The point is, that when it comes to computers, if it can be programmed to find the highest X, it can also be easily programmed to find the lowest X. Someone might make a machine learning system to generate the most pleasing music, and someone else turns it over and finds the most painful sounds possible and then puts them on their metal album.