I think it’s the other way around. Takbir comes from akbar (great) as in allah akbar. Takfir comes from kafir (infidel or unbeliever).
You are right. Anyway, those are two words to know! Now, I’ll be sure to remember them...I think.