Reasoning purely by analogy is limited. We could say the same thing about cars. Some people thought it was a bad thing, to replace horses. They might not have been right for the right reasons, but now we have one of the highest levels of CO2 in over 800 thousand years mainly because of cars (and other fossil-fuel burning devices, which would largely not be possible without vehicles).
The truth is, we have nothing quite like AI from the past from which to draw on experience. If AI becomes an incredible tool, it will an incredibly bad one, used mainly for replacing humans in most jobs and removing our reliance on each other, promoting narcissism and selfish behaviour.
Also, the nuclear story is not finished. We don't know whether someone will use nuclear weapons again in the next 100 years -- something that might affect all of our children.