Robots and morality

Now our mechanical creations can act independently, what happens when AI goes wrong? Where does moral, ethical and legal responsibility for robots lie — with the manufacturers, the programmers, the users or the robots themselves, asks John Thornhill. And who owns their rights?