If a husband and wife do not have sexual relations for over 4 years due to health reasons will this invalidate the nikah or effect anything?

No it does not invalidate the marriage. This a strange belief not found in the school of Ahlul Bayt as