I have known someone like this. In his case he was doing it for two reasons (1) he's a genuinely nice person and enjoys doing things for people and (2) he knows that it can sometimes "grease the wheels:" that is, it leaves the other person with a positive memory of him that can be useful later.
The take home message though is that his primary motivation is just his good nature; the benefit is a side effect.
The take home message though is that his primary motivation is just his good nature; the benefit is a side effect.