Ideally, they would realize that moral responsibility to save lives is greater than money in this case. I don't think money would even be a problem, public pressure would be enough if everyone knew what was at stake. The companies capable of manufacturing would still make money by selling the vaccine to governments and people.
Probably every doctor and nurse feels moral responsibility to save lives is greater than money in any specific case. But if you cut all their compensation to minimum wage plus a bit, I doubt many will keep working in health care for very long.