They broke this twice. Once in the 80s when they released music hardware, and in the 2000's when they founded iTunes. The Beatles weren't pleased about this contract breaking, so they denied permission to distribute the Beatles on iTunes.
Also, the Beatles are on Apple Records which was/is their own label (but still under the umbrella of another label, possibly Columbia, I think).
My broad strokes are correct but the details are questionable. I'm a big Beatles fan so I had to take a stab at answering your question. Keep those facts in mind on your search for answers.
It's a complicated arrangement, When in 1989 Paul McCartney wanted to print the lyrics to Eleanor Rigby and other songs for a tour, he discovered he'd have to pay a fee to Michael Jackson.