So in that sense, a global maxima (minima?) solving function will probably not arrive at what we have, it has to take into account our evolutionary path, in its entirety (as in the whole tree.), because it is all encoded in 1 (or several) long molecules, and a radical changes would take a rewrite of many parts at the same time, which just does not happen. Maybe at some point we can do it ourselves... though I imagine there being a lot of unintended consequences in other places in the body :).
Another example is that sometimes complexity in a cell signalling cascade is simply there to get some timing right (ie delay some response), and the complexity is just there, and won't simplify by itself -> But then later the complexity may start to serve some purpose. Just like proteins that are "copypasta-ed" in the genome, leaving one copy free to mutate and attain a function, or not... etc etc.