Not to kill your point, but those two are dramatically under-valued and under-appreciated jobs in most societies around the world. Every time you use a toilet (other than the one in your home) which is hopefully clean, somebody had cleaned it recently. Imagine they hadn't. You'd have a terrible day. Every time you go grab a good Starbucks coffee. Maybe even sit down in a comfy sofa to be able to enjoy it. Imagine the barista had screwed it up.
Both experiences make a huge difference in people's lives. Hundreds if not thousands a day. Every day. But they are paid crap and talked about in the way you just did. Compare that to a coder churning away meaningless features in some meaningless app. Would I care if the coder wouldn't show up to work for the next 4 weeks with nobody stepping in their place? No. That answer is decisively different for the toilet cleaner and the barista.