A scheme allowing people to save cherished parks, pubs and community centres has closed early with millions of pounds left unallocated.