Funding for Triangle companies and universities received from the National Institutes of Health has steadily declined, threatening one of the regional economy's most vibrant sectors.