Retail giant Walmart has filed a patent for a cryptocurrency that shares various similarities with Facebook’s Libra, and could end up rivaling it.