As concerns rise about the potential misuse of artificial intelligence, Illinois has passed what an executive of one AI advocacy group called “the strongest AI safety law in the country.”