TJX Companies, Inc., headquartered in Framingham, endured a massive financial hit in 2020 as the coronavirus pandemic forced the company to temporarily close stores both in the United States and abroad, according to a quarterly earnings report released Wednesday.