“Other modern countries” don’t pay for these services through taxes on “companies.” Of the big 5 EU countries (which together comprise 70% of the EU population), 4 countries rely less on corporate taxes than the US. The UK is the only exception, with corporate taxes making up 8.3% of revenue, versus 7.6% in the US: https://www.oecd.org/tax/tax-policy/revenue-statistics-highl... (page 3). By contrast France is 4.5%.
Nor do corporate taxes fund the Nordic welfare states. Corporate taxes make up between 4.9-6.2% of tax revenue (less than the US) in Denmark, Sweden, Finland, and Iceland. Norway is the only one that’s higher than the US, and that’s only because of the special 55% tax on oil company profits (the normal 23% Norwegian corporate tax is in line with the other Nordic countries, and lower than the US).
In Germany, 65% of tax revenue comes from social insurance and consumption taxes, which are paid for by the middle class. (Those who make more than about $70,000 per year are exempted from having to purchase the mandatory health insurance, and from the corresponding payroll taxes.) In the US it’s under 40%.
Put another way, Germany’s higher consumption taxes amount to 3.7% of GDP, and its higher social insurance taxes amount to 5% of GDP. That’s almost all of the difference in total tax burden between the US and Germany.