Retail giant Walmart has joined MediLedger, a consortium building a blockchain for tracking pharmaceuticals.