The concept of utility functions in A.I. is interesting on a philosophical level.
A utility function is basically a function that tells a machine learning algorithm if it's moving closer to or further away from a set point. It's the A.I. version of the brain's reward system.
Humans wouldn't want anything if it weren't for the reward system they are born with. The reward system is what makes us want things. The rest of the brain is just there to figure out how to get those rewards.