Wal-Mart Stores is to buy out Indian venture partner Bharti Enterprises, ending the speculation over the future of the business.