NASA did abandon aviation for space, shelving the X-plane program for about 2 decades, which was a huge loss.
It's great they're back, and have been doing fantastic work in fundamental research that private companies don't get around to: hypersonic vehicles, small-airplane electronics, now electric.