It can be both. Bell Labs performed a lot of speculative research while still producing economically valuable technology.