Here's why investors are throwing money at startups that give away their software for free