You might be amazed that a lot of treatments have been developed by countries like Cuba, fi, but had to be smuggled into that great capitalist system of yours by a backdoor, because "the market" would never accept it if the public knew where the research came from.
Besides, it's expensive to test and certify treatments because that's what the industry wanted. It kept out smaller companies so these could easily be scooped up. And it also kept the industry's insurance bills down.
These days, AI can suggest so many interesting molecules for research, it's no longer a field driven by great minds but just another boardroom stats program that decides which molecules to invest in. No sentiment allowed, just cold hard numbers to present to shareholders.
The sad truth is that science is driven by reputation and reputation today equals number of publications and number of quotes. Since these numbers have been corrupted by fake publications resulting in fake "quoted" stats, research went the way of politics. These fake publishing companies get exposed every now and then, but relatively little harm is done to the scientists as long as they keep working for their present employer. Win-win, from the industries' viewpoint.
Once it gets too big, it tends to get corrupted somehow...