Still, there are farmers working to produce that food, using fuel, hiring mechanics, etc. Literally millions of people are involved in the research needed to make insulin so efficiently. Millions more are currently involved into making AIDS, Cancer and other diseases less fatal. And obviously homes don't grow on trees, from raw materials to specialized geologic knowledge, lots of people have to work very hard to build (and maintain) a home that is safe and pleasant.
That's being said, many countries do guarantee all of that. Capitalist countries, before lemmings jump out with bullshit.
In Germany even if you are unemployed you get your health insurance paid for, your rent covered - up to centra in surface area depending on the family size - utilities paid for, and a certain amount of cash for groceries and basic needs. The only condition is you have to be looking for a job and accept any reasonable offer - and make a good faith effort to keep it. Sometimes the government will ask you to work for them (usually unskilled laborike cleaning parks or something like that).