Those sectors you listed are actually among the least-capitalist and least-free-market in many locations.
They typically involve widespread and extremely invasive government interference that leads to significant inefficiency, service quality problems, and pricing distortions.
The healthcare industry, for example, is highly regulated in most jurisdictions. This eliminates most (or potentially even all, in particularly socialist systems) competition, which in turn eliminates consumer choice and also eliminates the incentives needed to ensure everybody involved behaves efficiently.
The housing industry is also highly regulated in most jurisdictions, and especially in urban areas where demand for housing can be highest. Restrictive zoning regulations, overzealous development review processes, unrealistic building codes, and financial system regulation result in a variety of market distortions that in turn can negatively affect the supply of available housing, the type and quality of housing that is built, rental rates, and purchase prices.
The education sector has perhaps the most government involvement of the examples you gave. In many places, it's provided directly by the government itself. Even if private options do happen to exist, they're often subjected to government-imposed accreditation and curriculum restrictions that neuter their independence. The situation can get particularly bad once government funding gets involved, especially in higher education, which can introduce severe tuition pricing distortions, inefficient use of resources, and so forth.
When a so-called "market failure" occurs, it's usually because there isn't actually a free market involved at all, but rather significant government interference and other socialist policies.