To add to JotaGi's reply:
Having taken Music Business Law at The New School in NYC, I read a bit more into your question.
The samples, loops, etc. are indeed licensed to you to use freely, providing you have purchased, not pirated, your software (no insinuations here, just facts). However, there is also copyright concerns, as to what notes are playing. If you are playing notes that form a song that isn't yours,aa you are guilty of copyright infringement!
Now, when looping became mainstream, the copyright law was amended, I believe when Vanilla Ice with Ice, Ice Baby, to allow an artist to use up to two bars of a copywritten song, legally.
So, it's not just about the sounds, it's also about what is played. Your music must not have more than 2 bars of another song, if it's not totally original. Think of Vanilla Ice's hit song, and count off 1, 2, 3, 4 -2, 2, 3 4. That's the whole song, just two bars I believe.
Now, if you have a song out there that is generating royalties, you won't hear anything for quite a while. That's not the lawyers being lazy, it is so you build up a great deal of royalties, so they can then sue you for the maximum amount 'damages' that you cost their client in royalties, as well as for the stress you caused him/her and a bunch of other thk
Now, we all realize there are only 12 notes, and we all have our influences and take bits and pieces of things we've learned and create our own music and styles....but be aware and careful of copyright infringement.
Additionally, I don't believe you can copyright a sound, a loop is music, so yes, but not a sound. My schooling was years ago and I welcome any corrections!
Hope this helps!
EDIT: You may not legally resell their unmodified loops, i.e. "here's apple Logic loops, 1$ each". You may only sell work that happens to contains loops, so they must be only a component of he work