It's not blackmail. You don't do things for people in order to be thanked, you do them because you want to. The "thank you" just shows gratitude. It shows that you don't take it for granted, that you understand it's a favor.
There are times when it's not a favor, but those need to be distinguished from the times when it is.