The difficult part is the technicality here is legal and ethical from any standpoint. The high level ramifications are a bit unfair in the sense that yes the data is being used to create an AI that can replace you and your job from data you created to DO your job.
This is the conundrum with AI. Our legal system and moral intuition makes it permissible to read and interpret things which is pretty much all ML does. Does it make sense to make it illegal for someone to learn programming for free from online articles? No. Does it make sense to make it illegal for someone to learn programming for free from online articles to take over your job? No. Should it be illegal to use tools to help me learn programming for free by using tools to help me read for free from online articles so I can take over your job? No.
But if that tool is AI, suddenly, Yes, it should be illegal. The logic makes no sense. But we shouldn't rely on logic to maintain our morals, even if it doesn't hold logical cohesion if the outcomes are negative it should still be immoral imo.