Lionel Messi missed the opportunity to set a new World Cup scoring record when he failed to convert a penalty.