Consumer electronics is about the worst possible comparison to medical services.
Consumer electronics are discrete, empirically testable, easily compared and researched consumer goods that provide a pre-defined set of experiences without regard to the personal characteristics of the individual purchasing them. They are optional items that no one needs to survive, and so are not purchased under any particular time pressure. They are therefore very susceptible to price competition and the market for them is quite efficient.
Medical services are classic credence goods. They are not discrete, since any given procedure or medicine is (or should be) part of a interrelated course of treatment customized to the individual. They are not easily compared and researched due to the opacity of pricing and the extremely specialized knowledge required to intelligently choose between different medical approaches. Even if steps were taken to make pricing and outcomes more readily available so that market participants could try to compare and research them, the outcome (and therefore the total cost) of a given medical service varies widely based on the individual characteristics of the purchaser, and is not knowable before the medical service is delivered. Many medical services are not optional (or at least, the option to receiving the service is very, very bad) and many of them are delivered under extreme time pressure, when no one has any ability to price shop. The market for medicine is, in other words, extremely inefficient, with all the market power resting with suppliers and very little resting with consumers. At the edges, with optional, simple, and non-time pressured services (like Lasik or simple dermatology procedures, exactly the examples your article used) an efficient market can develop. The overwhelming majority of medical care, however, and especially and particularly the care that costs the most, is not susceptible to any kind of reasonable market forces, and never will be.
Furthermore, the health of a country's population is a public good, leading to greater productivity and national wealth in the long run. In that way, it is very similar to security, efficient justice systems for the resolution of disputes, and secure property rights. Since health is a public good that cannot reasonably be delivered by the private market, governments should take steps to provide the services required by their populations.