Firms bet they can turn upfront payments of as little as $80 million into multibillion-dollar treatments.