Cloud computing businesses are spending a ton now, but will reap the rewards later.