If done right, self improving AI has the potential to end all suffering, by ending conscious life on the planet, but how can we make sure that AI is safe and properly sterilizes the planet so new suffering never springs up again that we would be helpless to prevent?
Distinctions between suffering and pain make sense, but that was not the point here. I think that many animals are quite clearly conscious, and experience pain very much in the same way as we do.