Two legendary companies in the music industry faced off in court Wednesday in a trademark battle over a piece of fruit.

Apple Corps Ltd., the Beatles’ record company and guardian of the band’s musical heritage and business interests, is suing Apple Computer Inc., claiming the company violated a 1991 agreement by entering the music business with its iTunes online store.