It's probably more accurate to say "unless you want to be an academic" as opposed to "unless you want to be a professor", but since becoming a professor is usually the goal of an academic career, it's a fair statement to make.
If your contributions become noteworthy in the field, then along with the relationships that you've generated with your DARPA/NSF/? partner, you will eventually be able to be a prime.
To reiterate some of the other comments here, you may not be able to pick the 'basic research' that you want to work on in the above scenarios... usually the grant sponsors decide that.
http://thinkinghard.com/blog/AmateurTheoreticalScience.html
>In recent times, science has become very professionalised. Many of the steps in the list above serve specifically to maintain high professional standards. For example, step 5 – complete a Ph.D. – is a way of measuring an individual's likelihood of making significant contributions to scientific knowledge.