That is actually a quite interesting question. What is the license of the content posted to Lemmy? Would it be legal to share posts? Or use code posted here in proprietary projects? Do people retain full copyright, thus make sharing illegal? Can an instance in its legal terms define a standard license for content (like stackoverflow does)?
Finally, who would enforce the license?
Also, I don't think people that scrape training data care about all of this.