This argument has been going on for quite some time now. Some people argue that if a robot can think, act and behave like humans then it should have equal or less rights and some people say that its just a machine and not a human or real life so machines can’t be given any rights.
In my opinion, when such a robot is developed which thinks, acts and behaves similar to a human then there is no difference left between both. Just imagine, how would you think of such a robot as a machine if it’s talking to you and behaving with you just like your human friend. Mind connects with mind. Both robot and human become equal because both have consciousness which is the main thing in a living life, which defines life (in spirtual terms) only the hardware is different. In case of a human, we have nano technology based hardware whereas in a robot, we’ll have electro-mechanical based hardware (nano-tech may be used in mind but that’s a different issue).
I believe that robots do deserve “some” rights but giving them rights may cause severe problems because robots might start getting thinking about their own individuality and their own importance. They might start thinking that they are not a “machine” and deserve equality with humans. That’s possible.
Another thing is that a robot should never be given emotions because if their consciousness is based on pure rationale then they will happily accept the relation with human as "master-slave”.
I expect we will have such level of robots by 2025 because its only depending on invention of AI.