Before approval it's research, it's an investment. When in developing phase it's normal not to make money.
After approval it's the health insurance or the patient that pay. In countries like Singapore or France the taxes pay so it's "free" (actually it's an "insurance" backed by the govt)