This is exactly the trap companies fall into. They see a solution ready to buy and think, "Oh we can build that ourselves for cheaper." The thing is, they can't. I worked in a niche of the medical industry and we saw this so much we made a white paper on it. The number of times people decided to build something themselves and came back to us in a year was amusing. They don't realize:
1. The amount of man hours necessary to build a reliable, effective system.
2. The expertise and insight needed to make it actually solve the problem.
3. The ongoing costs of maintenance, adding features, and support.
So, in my opinion, it's not that the market isn't functioning it's just that most companies are delusional about what it costs to build a complex software tool.