Study explores inner life of AI with robot that 'thinks' out loud