Chinese kindergarten students giggle as they solve puzzles assigned by their new teaching assistant: a roundish, short machine with a screen instead of a face. In China, robots are being built to deliver groceries, provide companionship for the elderly, dispense legal advice and become teachers.