Your OEM copy of Windows 7 is locked to the PC on which you first install it. You cannot transfer that license to another PC.
You can upgrade any components or peripherals on your PC and keep your license intact. You can replace the motherboard with an identical model or an equivalent model from the OEM if it fails. However, if you personally replace or upgrade the motherboard, your OEM Windows license is null and void.