So corporation X makes a "sentient" robot, and let's say it costs $100,000 per robot once manufacturing processes are scaled up. Then you and the robot enter into a contract whereby the robot agrees to cook, clean, take your mail, go shopping, watch your kids, have sex with you, and basically sing you lullaby songs or whatever, and in exchange you have to pay the robot a certain amount of money, let's say $300 a month. The robot is legally required to give that money back to corporation X, because after all the robot owes a debt to corporation X since the corporation made the robot and that cost money. The robot is basically an indentured servant that is required to buy its own freedom, and it gets the money for that from renting itself to you.
If a robot malfunctions the corporation takes care of that, since you don't have the expertise, and then they send you a bill for the repair work. If you want a new robot you will need to pay extra for that breach of contract you made with the original robot. If the robot demands better working conditions or that you are nicer to it, then you are legally obligated to adhere to that request, because after all the robot is a living sentient being just like you, and has "rights" including the right to a good workplace.
If a robot "accidentally" kills you or anyone in your family, that is considered an immoral act and the robot itself is legally responsible. Which means the robot is basically disassembled or just goes through a mind-wipe. And corporation X is not legally responsible at all for what its robots do, since after all they are living sentient beings with free will, just like you.
Lol.