Can you link to someone actually saying this? The whole debate seems like people are simply talking past each other, with one side saying "this is a useful tool" and one side saying "this tool is not going to turn into skynet in the next two weeks, so who cares?"
Given that a lot of what programmers do is write CRUD-style apps and a lot of TV shows and movies - particularly the big IPs - follow one and the same formula... it's not like that argument has some merit.
AI is rapidly approaching a quality level near to "good enough with a bit of human cleanup afterwards".
And even then with CRUD apps isn't main work to define what you CRUD. And what is the involved rules. The writing is mostly busy work that should actually be standardized already.
For average episodic TV show, yeah. Just pull things from hat and fill the holes, later that could be done by pretty cheap writers already.