Then what happens when you can't staff correctly because you're short staffed due to people not wanting to do these jobs?
You raise your wages.
Do you really think it's that simple?
You think if a change in twitter's code lead to the site being down, that the employees should just go home and wait until their next shift to fix it? That's not on management.
No, I think there should be OTHER people to replace them and do the fixes. Understaffing, or having a single point of failure (i.e. only "that guy" can solve the problem) is, for organisations above a certain size, bad management.
And where would we find these OTHER people if they're already short staffed to begin with? Especially if people are not wanting to work these jobs.
With regards to fast food. I say this as well, and tell my coworkers, if people are not wanting to work these jobs. Then they better not complain when it takes longer to get their food, or if their food doesn't come out correctly because we have people training and do not have a strong work ethic to get shit right.
You should see some of the jobs on the products we receive, I tell my coworkers, "Looks like Bob pushed the wrong button again". We have had bags of Tenders that look like Nuggets, and Boneless Wings that look like tenders. Not to mention the awesome tape job of the boxes we receive where some weren't even sealed completely.
That's why I say, if humans desire things and want things, humans have to work for it. But if no one wants to put in the work, what do you expect the end results to be?
No matter what we do, humans will always have to put in work.