Google beat email spam, but has fared much worse with fighting blackhat SEO. Email spam has evolved remarkably little in the face of spam filters, and it may be that they were able to "solve" it simply because there never was all that much money to be made from it in the first place.