This is true for grant fields. Teaching really is irrelevant if you're bringing in big grants. In non-grant fields, however, you do have to teach at an acceptable level, even at good research universities.
All of the researchers I know take teaching very seriously and do a good job at it. Some of them even kind of like it, but their tenure case depends on their research output, and that is their primary job and usually passion.