Tesco has suffered the biggest loss ever recorded by a UK retailer as a slump in trading at the supermarket chain was compounded by huge write-offs on the value of property, stock and investments.