Well, they are getting it that cheap because Gilead (the company selling HCV drugs for $84k in the US) licensed it as a generic for sale for this purpose[1].
So, no, this nonprofit didn't discover some cure out of nowhere, they created a combination therapy that uses one of the components of the $84K drug that is available inexpensively due to the owner of the $84k drug licensing that component for generic manufacture in that area of the world.
[1] https://in.reuters.com/article/gilead-sciences-india/gilead-...