If your robot punches a bystander, you're liable for their hospital bills, separately from whether you're culpable for battery.