Wal-Mart Stores has secured anti-trust approval for its bid to buy a 51% stake in South African retailer Massmart.