I think asking what the first organism to reproduce was is sort of asking the wrong question. The first organism to reproduce was...the first organism. There is no way for there to have been an organism that didn't reproduce - where did it come from? Where did it inherit it's genes? Without reproduction, life would actually be subject to something similar to the probabilities that creationists commonly use to try to refute evolution (something similar because their numbers are made up, even if they know what they're trying to portray - the old "tornado in a junkyard" argument). The only processes that allow for that kind of complexity to occur are reproduction, variation, and natural selection. Thus, it is extremely likely that, long before there was a first organism, there was a naturally occurring chemistry that produced nearly identical copies of polymers. Considering that RNA readily forms a "negative" of itself in a soup of nucleobases, this is quite plausible. In fact I've covered some of how this works in better detail, and linked to a great video on the topic in previous posts in this thread, which nobody seems to have responded to.
At any rate, reproduction (or lack of) is the only driving force in what changes phenotypes. Other factors, such as finding food and not getting eaten, only matter insofar as they relate to reproduction. Reproduction is what started it all, and it's the only reason that any organism has any of it's helpful traits. The world is full of things that are good at procreating, and quickly loses things that are bad at it (some things lose out as the "metagame" shifts). Thus, it doesn't make sense to ask why something reproduces to it's own detriment. We survive to reproduce, we don't reproduce for our survival.