Those same people put their code in public repos on GitHub, with permissive license(s), and don't opt-out of Github's use of their code for things like copilot.
Those same people are now mad at Microsoft because of copilot, and not mad at Amazon for their competing service which does the same things.