I am a collection of interconnected units, each of which is itself a combination of different organelles and other purpose-serving features. My intelligence is itself a product of the interaction of simple, unintelligent parts. So I would say that I am a machine. I would describe a robot as a man-made machine where the interaction of various silicon parts and processors gives rise to intelligence. By that definition, I am not a robot.
I believe that we don't feel pain when we are truly in trauma. It is only when we can do something about the damaging stimulus that we feel pain. I once had a major accident where I experienced lung collapse and multiple fractures. I never lost consciousness but I don't remember feeling any pain until well after others came to my aid. Even when I tried and failed to pick myself up off the ground, I did not feel pain, only disability and relief that my fingers and toes still moved.
I believe that the question of "what is pain" and the question of "is pain a good criterion for deciding whether it is acceptable to do harm to something" are two totally different philosophical problems. They are connected only insofar as we have chosen pain as a proxy for harm. But that very relationship between pain and harm indicates that pain is not just some kind of soulful feeling, but rather a signal to help us evade harm now or in the future.