[there actually are musicians that specialise in recording backing tracks intended to resemble a particular popular recording which aren't that recording for use in commercial products, but they tend not to get sued...]
Related: The Supreme Court ruled that excerpting a single paragraph from a 454-page book can be copyright infringement. The book was Gerald Ford's memoirs, the one paragraph was his reasoning for pardoning Nixon. The Court's reasoning was more-or-less that nobody cared about anything else Ford did, so excerpting the one paragraph was as good as giving the whole book away for free.
Whether a work in question is even eligible for protection at all is a distinct legal question.
The question in play is how much of of the copyrighted work may be reproduced before it is infringement.
Of course not every set of four notes or eleven letters in a copyrighted work is prohibited; the significance and context of the use matters.
Usually short phrases aren’t supposed to be protectable under copyright. However, when a defendant blatantly appropriates a well-known literary phrase for a commercial purpose like selling unlicensed merchandise, courts may make an exception.