An almost universal quality of being alive and conscious is to be able to experience pain. Despite this, it appears rare that we build bots that express pain in some way. It almost seems like we want our robots to not react to damage in any way that would resemble pain or suffering. As we 'torture' robots, we usually don't want to see them react to pain, we want to see them try to continue working despite the damage we do to them.
When I started searching for bots that express pain or suffering I really only found a few examples. The first would be a modified roomba that screams every time it hits an obstacle as a very overt example. In a way, robots that stop when hitting an obstacle do in fact have a similar 'self-defense mechanism' to what the main function of our pain is, at least originally. This robot highlights that aspect. Stubbing our toe is what teaches us to not hit obstacles. Simple as that.
A similar, although less impressive, creature-esque feature can be found in the new Steam controller, which plays a scream-sound when dropped. While I wouldn't call this an artifical creature, it still has some aspects of creatureness to it.
In more of an arts-context I found various creatures that allow us to think about suffering, a much more abstract concept than pain itself. What I think to be the most popular example is Can't Help Myself by Sun Yuan and Peng Yu, as it seems to be about the modern human experience of not being able to keep up with work, slowly dying and having no time for anything fun or meaningful. But then, the fun we see in it's dances, or the suffering we see in it's endless sweeping back of red fluid, is all neutral to the bot.
More interesting is Colored sculpture (2016) by Jordan Wolfson: A life-size ragdoll plastic boy with interactive moving eyes that gets pulled and thrown around by chains on gantries. I think this robotic artwork is precisely about what the boy does not feel and what we feel in it's place. The movements of the work are loud and violent, allowing us to reflect on the concept of suffering. What would it be like to be the boy robot? Would being in constant pain without any control make even us as apathetic as the robot? Yet, despite everything we project, the boy robot does not feel pain in it's torture. When it's surface slowly breaks down, we see this confirmed in that we see the hard materials it has been made of.
Clearly, artificial creatures that express pain in ways that we recognize are in short supply. This niche of robotics therefore seems something interesting to explore. There is nothing to be afraid of, except perhaps our own feelings of empathy, although even that isn't a given if we were to build a masochist bot.