Is programming an actually useful skill for many people? Maybe. Most are not going to write code professionally.
Even if they don't, it helps to have an understanding of what a computer program is, and the kinds of problems it might solve. Programming isn't the main function of most people's jobs, but a lot of people work using a computer and would benefit from being more aware of what it can do.
For example, a colleague was manually reorganising a large set of JPG files based on their filenames. A few "mv" commands could have done 99% of the task in under a minute, but she didn't realise it was possible.
Someone else needed to do some repetitive change on thousands of rows in an Excel spreadsheet. They spent the whole morning doing it, and then grumbled about it at lunchtime, and how it would probably take another whole day. It took me less than five minutes, and she's since written some macros herself, saving time and processing data in ways she didn't find practical before.