Glass Dragon

What would it be like, in a world where humans have companions of glass? Where the companions reflect the human's personality? What if there was a glitch in the system of companionship and a companion rebelled against the authorities?