US retailer Wal-Mart is to repurchase US$15bn of its shares.