We had the huge capacitor shortage a few years ago. 100nF caps were substituted with any nearby value, they were all sold out. I think in that case, artificial shortage was real because the margins for manufacturers was just not there. So if you then want to raise the price of your product, first take them of the market and see how people start begging at your door to produce them again for any cost.
To be honest I don't think ST is doing that. The F103 isn't exactly new, in fact you see it used everywhere. Many boards like Blue pills with F103 knockoffs probably fuel the popularity even further. The Cortex-m3 is a capable processor. It only lacks some DSP and FP instructions the m4 series has, but you explicitly have to use them to benefit from them. So for projects doing some USB, ethernet, serial comms and other generic stuff it's fine. You get tons of RAM, 12-bit 1MSPS+ ADCs, DMA, which is basically the same building blocks you have on the bigger MCU's these days (just less of them). 72MHz is only about half what you get on an entry level F4, so not that far off neither.
Really it's not surprising that people use them, as spending more is only warranted for specific use cases. In other projects, just cost optimize. E.g. 2$ vs 4$ MCU can translate to 5-15$ retail price difference, and for many products that's a lot of money (or margin).
I'm not surprised medical companies try to overbid by several times the MSRP. Recertification of products is real. In any other industry, if I would had to deal with a shortage of F103's, I would probably look at other chips from ST that are pin compatible with similar peripherals (probably F4 series), and add some extra BSP code to run the firmware on both chips. You probably don't even need 2 binaries as long as you stick to the least common denominator ISA, which is the Cortex-m3.