Real Madrid have become the first side to retain the FIFA Club World Cup, earning a 1-0 win over Gremio to lift the title at UAE 2017.