Trademarks are generally restricted to a single domain [1], which would mean that these music companies would only have rights to the Grooveshark mark when used in a music context. If there's a company out there that sells a product for grooving pavement that they call "Grooveshark" and sell it on groovesharkpaving.com then there's no domain overlap, but the court's order still asks CloudFlare to block them.
[1] Business context, not domain name. So "computers", or "food".