Close to where I live is the Tesla Gigafactory in Germany. Now I obviously have never seen the one in the USA in Person, but I've heard they tend to really overwork their workers. Decent pay, but shit conditions essentially.
Now looking at the one in Germany, they are offering above average pay (for Germany), 30 days vacation a year (kinda standard really also paid obv.), 40 hour work week (German laws don't allow for overtime that isnt replaced with comp time outside of very specific circumstances) and due to how Unions here work every worker is automatically under the umbrella of IG-Metall union.
They still make a profit doing this, else they would not have build that thing here. And they are paying more taxes here than in the USA.
So never forget, it is absolutely possible for these companies to offer decent working conditions. They just trained the people in America to not have them.