It's to take advantage of the Google Site Rank algorithm. The more links you have to your site, the higher its search ranking. However, Google looks for people doing crap like this, and then penalizes them. As long as the spam links remain out there, they are penalized. It's poetic justice.