If you ask people why they want to live, the answer it's usually so superficial, broad and varying that it's almost irreverent. Since they're robots then they probably were programmed to function. So they work to ensure that they continue to function.