Investors are shunning the country’s crowded IT scene. Some companies are now burning through cash to win market share