Not quite. That might be true if, and only if, the shorter-necked fellow doesn’t get to mate first. Otherwise, natural selection is irrelevant - once an organism mates, it has fulfilled its evolutionary obligations. Natural selection involves the selection of those traits which, in whatever fashion, allow an organism to reproduce. It does not necessarily work for the good of the individual, but for the good of the species. Thus, we see any number of insects who mate, then immediately die. If the short-necked giraffe mutant has not had a chance to reproduce, and subsequently starves to death, then its genes will not be passed on, and the long-neck’s genes “win”.
**
Natural selection. Trees are organisms, too. Plants will evolve traits to defend themselves from being eaten, just like animals do. If it happens that taller trees have a greater tendency to spread their seeds than do the shorter ones (which might, for example, have all of their leaves eaten by giraffes, causing the tree to “starve”), then the taller trees win out.
**
Bingo! Organisms are not simply plastic objects which are molded solely by the “environment”. The organisms themselves will modify their environment, which will in turn affect the selective forces acting on them, and other organisms inhabiting the same environment, and so on. Certain outside forces, often in the form of cataclysms, can introduce massive environmental changes. In such cases, any organisms which were, through perhaps sheer chance, already capable of surviving in the new environment will survive. Those that are not so adapted will die. In some cases (and frequently throughout the history of life on earth), the changes to the environment will be so sudden and/or drastic that there will be no survivors within a given population, or, depending on the extent, entire species.