One way to avoid this in the US is to go with an HMO, since they can be wildly profitable and still be much more efficient than an insurance company + independent providers. Of course, the problem with that is that non-emergency care from third-party doctors isn't covered by the HMO.
A better way to solve the problem is to go with a single-payer healthcare system, such as the one the progressives was proposing during the Obamacare negotiations. (As every other first-world country has done at this point.)