Some of the free proxies pay for the internet and hardware by injecting ads into the websites you are visiting. This may help pay for the costs of operating a proxy server, but there is a much more profitable approach (from the perspective of a hacker or a cybercrook).