Walgreens will get a "significant" ownership stake in a specialty pharmacy that treats people with cystic fibrosis under a new deal with the Cystic Fibrosis Foundation, the two announced Tuesday.