They get recognition, they test their ideas, they might have some advertisement plan, they gather data which they can use to sell or implement in new net games, etc.
It's not that expensive to set up a server and domain for people to play on and that's all it costs them. Not all projects are...