Didn't apple use to have an R&D department and one of the first thing Steve Jobs did when he came back to Apple was he scrapped it?
For example, I remember coming across someone working on touch R&D for Apple: http://murderandcreate.com/
From the page:
"In 2007 I started working in research and development at Apple on multitouch hardware. There I spent my time inventing and patenting new touch technologies. Now I lead the Human Interface Device Software Prototype group at Apple."