1) Give up and work for a shitty job, until it gets automated, then go homeless and hope the government keeps them alive
2) Learn new marketable skills and get a job. You're right, we can't all be programmers, but we can be nurses, car mechanics, accountants, pilots, welders, plumbers, farmers, etc.
3) Start a small business. Many successful small businesses are literally as stupid as "buy wholesale, sell retail". Many have very low barriers to entry, like making ice cream.