The agency aims to develop new technologies for space flight, but years of neglect have left many of its labs in rough shape, says a new report