AI is showing some of the hallmarks of another technology’s rapid rise and fall back in the 1920s. These are the lessons we could learn.