What rights do we give to a fledgling AI? Should we kill it if it starts swearing? This is what IBM did to Watson 1, that started swearing after it ingested the Urban Dictionary.
Read the article on the Daily Mail.
A related captivating science fiction book is Accelerando by Charles Stross.