Not to mention that if they start prosecuting their customers that's terrible PR, and the ones most likely to jailbreak are the ones recommending iPhones to their friends and family (i.e. the technically inclined), and also the ones who would make a huge fuss about it. It really would do them no good at all.
They have, where the DMCA is applicable. The thing is, contrary to popular belief, the DMCA does not give them any sort of right to sue an individual for the act of jailbreaking itself. It is, after all, your phone. But it does come into play when people distribute the hacks to do so, as they involve breaking Apple's copy protections for the express purpose of modifying Apple's copyrighted firmware.
By analogy: A publisher does not have the right to stop you from cutting up a book and re-arranging the pages, but they do have the right to stop you from distributing such a book, even in modified form.
I don't know much about the inner workings of jailbreak, nor have an iPhone, but given the way Apple protects its IP, I'm really curious.