And the pencil companies let people draw lewd drawings depicting minors. The typewriter manufacturers let a bunch of people write lewd stories depicting minors.
Elon, through his company, publishes the photos. I don't think it matters whether he posted them or not. He was aware of and encouraging of the practice, at least when applied to photos of adults.