I'm not necessarily assuming that. I think there seems to be an assumption here that the choice is research or internship, but not both. That is not the case. Students do research with me during a typical semester, and when they are done the school year, they often go and get industry internships over the summer at top companies around the world. We train them to pass the Google-style whiteboard coding interviews; our students are very prepared for those. I don't know of any students who do internships during the school year. Most of my students who do research with me do not go on to do graduate studies.
maybe if you're the kind of undergrad that has a good shot at google straight out of college, this doesn't make as much sense. I guess if you do two summer internships at FAANGs, you already look really good and may as well diversify your experience. my guess is that does not apply to the vast majority of cs majors that are just in it to get a decent job.
I'll have to defer to your experience on undergrad research though. what do you see as the value add from doing research as a student who has no intention of continuing school after undergrad?