I think you're misunderstanding the comment about nobody taking the last cookie. He's setting up the situation. Every group left one cookie (at first), and then usually the leader to that cookie.
Ah, here we go—I found where I heard it. It was in an episode of the podcast "Hidden Brain", called "The Perils of Power." It's an interview with the researcher who ran the experiment, Dacher Keltner. He starts describing the experiment at about 16:20, and explicitly discusses why they added a fifth cookie:
"Well this was where it's really interesting because the rules of politeness suggest you should really not be that uncouth person that takes the last cookie off the plate, and so we did pilot testing for the experiment and no one would take that fourth cookie—so that's why we added the fifth cookie: just to free somebody up to take that second-to-last cookie."
https://www.npr.org/2016/09/06/492305430/the-perils-of-power