It really isn't. Some countries can produce a trained physician for less than the cost of a new MRI machine. And beyond the capital expense those machines are expensive to operate due to technicians, maintenance, consumable supplies, power, etc.
This is in contradiction to my experience working on medicine in Africa, where there are often very well trained people coping with a water system that doesn't always work.