This thread will be pretty unanimous I would think/hope!
Firstly, no way would I say that to other children. Your own children need to learn the art of sharing and waiting their turn.
Secondly, that's exactly what I would reiterate to the parents who did that! I would like to hope I did so politely in front of the children too....I hope