You might be partially correct but you seem to omit built-in wants e.g. hunger or thirst or lust.
Furthermore, if a machine has no wants/needs then it won't take any action at all. It will just stand there and won't even experiment to find the good or bad outcomes.