That's a bad example because Apple Computer eventually did enter the music business, with itunes, contrary to an earlier court's ruling that they stay out of that industry.
I think they ended up just paying Apple Music a ton of money. So that's basically a case of infringing trademark, but having enough money to pay off the company whose mark you're infringing. As we all know, enough money solves any problem.