This is a hilarious idea. I would love a little robot that could tell whining apart from legitimate pain crying, because god knows toddlers do enough of both, and help discourage the former.
Beware second-order effects. I can see this going horribly wrong, raising a generation of believably-sounding whiney 'victims' suffering from whatever they imagine could get them something good.