> but most research jobs pay significantly less than research jobs.
I think your comment has a typo, but my answer to the question I believe you are asking would be that there are far more people seeking to have medical jobs than there are positions available in licensed medical schools.
There is no shortage of qualified people seeking to do medicine. They just can't do it as there are hard licensing restrictions on who can do it and those restrictions require formal degrees.
Of the people I know in the more poorly paid biochemistry research field, most have tried or are trying to jump over to medicine/medical research. They just can't get admitted to med school or can't get approved in some other way. There is no rise in the price of labour because there are just so many potential and willing workers that medicine is not altering the supply of labour for biochemistry research in a meaningful way.
In the case of the developers, there are no restrictions on who can be one. There are no formal requirements at all. You could be a high school dropout and if you can code well, there is work for you. If you have the skills, you can go be a developer. It is more as though nobody wanted to be in medicine as biochem paid more. In that scenario, there would be very few doctors.