Inducing critical phenomena in spin chains through sparse alternating fields