Contextuality in infinite one-dimensional translation-invariant local Hamiltonians: strengths and limits