Maybe an artificial intelligence may yield the results necessary to enable some of us to "live forever" - in whatever form that may be. However, artificial intelligence may go bad and turn against us even if that honestly wasn't our intention when creating the AI. The folks at LessWrong have some pretty good thoughts on that topic:
http://wiki.lesswrong.com/wiki/Friendly_artificial_intellige...