The San Francisco city attorney sued brands like Coca-Cola and Nestlé, accusing them of selling processed foods that lead to diabetes and obesity.