US pharmaceutical firm Pfizer said it would sell its patented drugs at cost to 45 low-income countries.