Sufficiently intelligent agents will derive their own goal of surviving
Any sufficiently intelligent agent that has the ability to create subgoals will realize that it needs to survive in order to achieve the goals we gave it. So even if it is never externally given the goal of surviving, it will derive this goal.
in an interview with Quanta Magazine