Artificial Intelligence might bring immortality or it might as easily bring imminent destruction of the human race.
For an accessible quick read regarding this topic, you can check out the U.S. News article We all may be dead in 2050.
If you are interested in going a bit deeper regarding the precarious position the human race is in and the challenges to be overcome as we move into this new age of enlightenment – check out the book Super Intelligence by Nick Bostrom.