Sam's Club has pledged more than $2 million in donations to nonprofits supporting small business growth.