Brad Pitt has settled his legal battle with ex-wife Angelina Jolie over the sale of her stake in their winery in France.