The study found flattering AI makes people less likely to take responsibility for their actions and more likely to think they are right.