NASA had a nationalist origin and has always kept those undertones even in the modern day, but I don't think anyone's ever accused it of being partisan. I don't believe many Americans associate NASA with any particular president, except maybe JFK, and I don't believe they'd conflate working for NASA with working for Trump.