Commonly used both literally (to cut the hamstring) and figuratively (to cripple or severely restrict effectiveness).
Definitions
To cripple or disable a person or animal by severing the hamstring tendons in the leg. The poachers hamstrung the horse so it could not escape.
Figuratively, to severely restrict the power, efficiency, or effectiveness of someone or something. Excessive regulations have hamstrung the small business sector.