Mexican officials blocked Walmart Inc's deal to buy delivery app Cornershop because Walmart could not guarantee a level playing field for rival retailers, whose customers use the app to order groceries and other goods, according to an official document and an interview with the top competition regulator this week.