I see a lot of complaining about Github Copilot. You might be able to complain enough to where Microsoft maybe would perhaps somehow shut the thing down.
Or you can just not use Github.
At least in the US it was determined correctly that scraping was covered in fair use, but in this case it’s being scraped to be used as code which really is a whole different ball game. But, who knows what courts full of old boomers that couldn’t tell a PDF from a PNG would say.