I wonder why nobody mentioned it - there is one more advanced principle AHA: (Avoid Hasty Abstractions) https://kentcdodds.com/blog/aha-programming#aha- Overusing the DRY principle can make software almost unsupportable.
Yes, IT processes significantly differ from those in other areas and can't be evaluated by the same methods - due to the complexities, hidden problems, and overevaluated expectations. For example, the known fact: adding a new member to a team doesn't linearly increase productivity.Nowadays probably AI will help here :)
Other things can be embarrassing parallel. Teachers for example teach X students each in separate rooms. They need to collaborate sometimes but for the majority of their job they have their own class to teach.
Restaurant staff can also scale like this most likely. Limitations would come from space and available equipment. But this is solvable and why we have McDonalds.
etc.
IT is special in having gangs of individual contributors who at some level are like CEOs of the code they create and all the complexity of running a silicon organisation! Every minute is strategy. It is a heavy thinking job.
There is also more advanced AHA principle (https://en.wikipedia.org/wiki/Don't_repeat_yourself in alternative section) - which is an evolution of DRY and is great for avoiding redundant complexity caused by DRY.
Something doesn't need to be full human-level general intelligence to be considered as falling under the "AI" rubric. In the past people spoke of "weak AI" versus "strong AI" and/or "narrow AI" vs "wide AI" to reflect the different "levels" of AI. These days the distinction that most people use is "AI" vs "AGI" which you could loosely (very loosely) speaking think of as somewhat analogous to "weak and/or narrow AI" vs "strong, wide AI".
There are few factors why PHP popularity is decreasing, not because it is really bad. But very often other languages build its popularity on promoting how "bad" is PHP. It is also no longer fashionable as it was in the beginning, but other language promoted as such. And more.. So, I think, rebranding and good marketing could help here.