Regardless of whether they're making money from selling the textbooks, it's a great idea for all parties involved. It's great advertising, and may be a great venue to bring in new players. Even if theyre not making a lot of money off the texts, I wouldn't be surpirsed to hear that WotC is subsidizing the cost of the class, for the advertising and the potential for new players alone.