Businesses are investing capital in automation rather than hiring people in large part because laws artificially inflate the cost of labor. The government keeps making it worse with things like obamacare. I'm pretty sure CVS would rather have plenty of cashiers rather than self-checkout machines, but hiring them has become uneconomical despite very high unemployment.