there was a fight between Apple, the computer company and Apple, the record company (initially owned by The Beatles). They initially resolved it by The Beatles allowing the other to one to keep its name on the condition they would refrain from entering the music business.
We all know how that turned out.
How did it turn out? Seems like both still have their trademark and everyone lived happily ever after
Apple owns all of the related trademarks, and licenses the relevant ones to Apple Records.
https://en.wikipedia.org/wiki/Apple_Corps_v_Apple_Computer
The Beatles got richer, and then got a whole lot richer.
Apple Computers obviously broke their promise to stay out of the music business (most notably with iTunes and related products).