I don't understand why you and others are so mad about this. Stackoverflow is a great resource that takes significant time and money to maintain. I don't have a problem with the maintainers making money by selling access to train AI on the data.
Having Stackoverflow as an alternative to reddit is important so that people aren't stuck using reddit.