They both have strong labor unions and/or collective bargaining agreements the USA does not have. That is to say socialist-coded policy is what is helping here, not capitalist ones.
Their benefits are almost purely from the strength of the working class, hence workers having it better there.
In France, the percentage of employees covered by a collective bargaining agreement, which is very high (around 95-98%)
In Germany, about 50% of workers are directly covered by collective bargaining agreements (CBAs)
In 2024, the union membership rate in the United States was 9.9%, representing 14.3 million workers, while 16.0 million workers were represented by a union under a collective agreement, accounting for 11.1% of the workforce.
---
If American workers want a better life they need CBA's and unions, not protectionist tariffs and buying chunks of random tech companies.
Huh? France and Germany are prime counter examples of your statement.