That is to say, the server maintenance costs have been dropping, are soon to be dominated by another product, and they are willing to take a hit in the interests of their greater business.
They've also certainly made plenty of money from TF2 already, perhaps enough to support the servers for the projected life of the game.