It is not a grace. There is no addressee and no deity in the sentence — the verb simply says I humbly receive, and what is being thanked is diffuse: the cook, the people who grew and carried the food, and in the usual explanation the life of what is on the plate. Hands pressed together is a common gesture and not a required one.
いただく is a humble verb, which is a claim about you. It lowers the speaker rather than raising the listener, which is how Japanese marks respect from below. That is why it works for receiving a gift, a business card and a meal with no change of meaning — you are the one going down in each case.
It pairs with ごちそうさまでした. One opens the meal, the other closes it, and skipping the second is more noticeable than skipping the first. ご馳走 means running about — the word credits the effort of assembling a meal, back when that meant riding around for the ingredients.
Alone at home, people still say it. Not universally, and not always out loud, but the phrase is not reserved for company. In a restaurant you say it to yourself or your table rather than to the staff, and if someone has paid, it is said to them.