They do it to exploit a vulnerability in the Google Algorithm. Everyone talks about how effective Google is at spotting exploitative sites but to be honest... most of the competitive phrases have a number black hat optimised websites in the top 10. These links give them a big boost.