It's not so much processed foods - obviously you can have processed foods which are healthy too. But if people with very unhealthy diets cut out the kinds of processed foods they eat it would probably go a long way towards making them healthier.
And you're right that capitalism is the root cause - the incentives are skewed towards making foods more addictive and moreish, to help with sales, which leads to making them worse for us. Big food companies even have labs to help them optimise this: http://www.nytimes.com/2013/02/24/magazine/the-extraordinary...