We aren't done designing flying machines. Maybe it will turn out that when we have sophisticated enough control mechanisms and materials, flapping will turn out to be the way to go after all.
Of course natural evolution has found only local minima in the fitness landscape, but as a designer it's been running its algorithm a lot longer than humans have. Its local minima may well be better than ours, and so worth trying to imitate.