By separating Research & Development of the fundamentals from the Development of the product (on top of having NDA's of course).
People and Media are not so much interested in technology research, and without a product it's also often too abstract to understand. If a company makes no publications or speeches at conferences, they can often work for YEARS without any special measureas and not getting noticed...
The product itself they then likely developed with the same business-practices to secrecy as an iPhone.