HBM consumed RAM manufacturing capacity and the same will happen to flash with HBF. It’s just that the dies will not be encapsulated and sold on M.2 sticks but piled up into HBF and sold for integration into modules. It’s either demand that drops for some reason magical or not, or new capacity comes online.
In the case of HDDs, which is what the article is about, I don’t think companies are willing to invest in the R&D needed to outcompete flash because, at some point, the mechanics needed to pack, say, 50 TB into a 3.5” form factor leave the mechanical engineering domain and arrive at physics, where advances become increasingly hard. Doubling density again to 100TB per drive might just not be feasible. At the same time, areal density of non-volatile solid-state memory might will continue to improve, and, with it, manufacturing prices will go down faster than for HDDs.
HDDs are a dead end. I wouldn’t invest much R&D in them. All three surviving manufacturers know that and are acting accordingly.