Are the robots we create alive?
Free will would allow Alice to choose between maximizing money, choosing at random, or simply pissing off Sheldor. In the first, picking the money is the rational choice. In the second, flipping a coin is a rational choice. In the third, not picking the money is the rational choice.
Memories and past experiences help judge what is the best action for each desired outcome, but don't restrict possible outcomes to a single one.