TOS wrote computers as intelligent in 1968 (The Ultimate Computer, which aired less than a month before 2001: A Space Odyssey).
And is is never a good thing. Heinlein was positive abut AI. I like that about him.
Discovery has more AI issues because AI is actually an issue in our current life. Computers are no longer distant giant lumps of metal. They are on the desk and in your pocket, and listening. Siri, Alexa, and others.
The principle that Science Fiction is more about the time in which it is written.