The story behind licensing The Beatles for a Rock Band game is long and complicated. To use The Beatles' music and likeness, the developers had to reach agreements with a whole web of rights holders, including EMI, Sony/ATV, Harrisongs, Apple Corps, and many others.
The initial contact is said to have come through George Harrison's son, Dhani. Ultimately, Apple Corps, the band's own company, agreed to license their music and images for a Rock Band title. So in a sense, you can credit the band themselves for making the project possible.