Apple Computers were already taken to court before they entered the music business but settled and part of that settlement was not to enter the music "biz".
Obviously they did later enter the music business, which is when Apple Corp (the record label) litigated for a second time.