Even very basic creatures with less intelligence "learn" because they "want to live".
That is the key - You want to stay alive.
You can't be immortal. You just don't live to learn forever. You live to stay alive and feel happy. And that is what drive us to learn.
Could this be true in case of machines?