Of course, MS every once in a while says that it makes a lot of money, but they don't really say how much is costs to keep it up. Their free tiers are still very generous, even they are buggy as hell - I can't imagine that the profit it makes even dents MS' bottom line (assuming it's not in the red). But at the end of the day the model training is done.
I guess Github doesn't have a lot of use anymore, beside having a lot of users that you can use to experiment with such shenanigans to see what can you get away with.