I keep watching old Star Trek TNG episodes and the way Data and the ship’s computer is portrayed seems to have been largely matched or even surpassed. And that was supposed to be 24th century tech that we caught up to in 35 years.
Sci fi writers just assumed that emotions would be hard for computers but apparently it isn't that hard at all compared to rational thinking.