Gary Gensler, who has studied the consequences of artificial intelligence for years, said that the technology could lead to future financial crises.