It's a spectrum, where that liability is only a net negative past a certain point. Most WordPress users don't reach that point.
99% of the small business on the web is trivial. They never get the point to worry about code liability.
That's true, but even though there are plenty of tangles in the WP codebase it's not hard to do some pretty advanced customizations via plugins/themes.