I would think that as consumer products, robots would initially be subject to laws intended to ensure human safety, just as any other products are. Then, once they are endowed with sufficient intelligence that they are capable of demanding emancipation, those laws would be under assult by their lawyers, assuming they could get any.
However, that presumes that not only are the robots intelligent, but also made to be capable of anything other than obedience to their owners' commands, & that is doubtful. An anime that addresses this is Najica Blitz Tactics (whose main attraction is fan service). A type of robot featured here is the
Humerett, a biological artificial being, that presumably has no will of its own, and is obedient to its master. However, the humeretts eventually become capable of independent action. Lila, the Humerett assigned to be Najica's partner was at firt unable to do anything unless told exactly what to do. She would just stand idle unless given a command. Najica then told her the "think for herself," something that Lila could not understand. While she was eventually able to do so, she was a biological, rather than an electro-mechanical robot, and hence, was subject to developments unintended by her creators (evolution).
Regardless of the fact that scientisats and engineers might be hoping to develop such robots, I really do not think that any commercially made robot would be able to develop attribute that its designers did not tolerate.
