Lionel Messi became the first player to score in seven consecutive World Cup matches, extending his all-time record to 19 goals.