Researchers are using Darwin’s theories to evolve AI, so only the strongest algorithms survive