It's 1/2 way between. Back in the day all the big "tech" firms had long term R&D. You could spend years working on tech with no commercial viability as long as you could keep making better demos. You were most likely an employee with a PhD and a pension.
But then wall street started demanding quarterly growth and they all cut their R&D departments.
Think Bell Labs or Xerox PARC.