I know this is probably a common topic. For me, I’m not sure if it’s a “trope” or just totally misinformed writing, but it’s how many authors approach alcoholism. Some examples are Girl on the Train and The House Across the Lake, among HUNDREDS. If anyone else here has struggled with alcoholism, you know it’s not just "i woke up after downing an entire bottle of whiskey but was able to shower, down a cup of coffee, and solve a murder. "
I am not even talking about an AI with emotions that acts against them. I am talking about an AI has no emotions, but acts on pure logic, and the goals and axioms given to it by its creators. You can explore all sorts of questions with such an AI.
As for your examples, I know the sapient AI trope is used very often. I was much more “annoyed” at you stating that an emotionless AI character would always be boring.