No need to give an AI survival goals. As you alluded to in your original comment, survival is simply an instrumental goal - one that comes from our only actual objective (if you subscribe to the selfish gene idea): pass on genetic information.
As soon as you give a sufficiently intelligent artificial intelligence any…