NASA on verge of losing its edge, report says