Juan Mata looked to have secured the points for United, but Olivier Giroud replied late on to deny the hosts.