Research into how chatbots solve simple puzzles demonstrates one of the technology's big ethical concerns.