'Any one' refers to a specific single item from a group, while 'anyone' refers to any person. The sentence instructs picking a specific item (any one) to give to any person (anyone) - the distinction between selecting an object versus selecting a person.