It's definitely not the same.
Spam is trying to sell you something, e.g. an unsolicited email peddling a supplements.
Slop is low-quality content, e.g. someone taking a bunch of bird pictures off Google and posting it in a birding Facebook group.
Spam is an ad, slop is not. With AI, it is now much easier to generate slop.