The Sun RI 1.0 and the early versions of 1.1 were cluttered by nasty bugs. At that moment the MyFaces was the more stable alternative. Since 1.1.02 and 1.2.02 around early 2006 the new Sun JSF dev team did great work. Not only with bugfixing, but also with performance enhancements. As of now I dare to say that Mojarra is the better choice.
To get straight on your question:
For what purposes dozens of people spent their time to implement already implemented spec ones more?
Often to make it better. Or just because it can. Or for the imago. At least Apache is known to implement/enhance almost everything which is brought by (or missing in) Sun.