DAEGU, South Korea—During the darkest days of its coronavirus outbreak, South Korea didn’t have enough doctors and nurses to treat the sick, and patients were dying while waiting for hospital beds.

The country managed to turn the rapidly deteriorating situation around quickly, however, by devising a system to reserve hospital beds for those most in need and creating extra space with help from its biggest companies.

South...