I'd say the first part is right but the second part is statistically incorrect. I would even expand from "web-apps" to just about any kind of software, especially "business software" -- very little of it was ever too difficult.
Now the following will clearly not be true for all cases, and the boundaries are very fuzzy, but generally a huge part of software development has always been the relatively straightforward translation of high-level requirements into code. Crafting the high-level requirements was typically the challenging part, but that typically was done by the more senior devs / architects, whereas the actual implementation was done by more junior / mid-level engineers. And there were typically multiple junior / mid-level devs for every senior dev, say 3:1 or more. As such, it is correct to say that the simpler aspects of software development were what kept most SWEs employed.
Now AI has completely usurped the lower-level coding work. You as an expert dev are definitely getting worth more than ever with AI, but that's because you single-handedly can now do what an entire team used to do. You may even get paid much more, but that is eventually going to be at the expense of a bunch of other people who are not required anymore.
This is why people are seeing "jobs apocalypse" written on the wall.