Depends on your definition of solve. There is no mechanism directly within capitalism to solve negative externalities that appear in capitalism once they appear. You need government regulations via democracy or another external force to step in and resolve them. That is why the increasing influence of corporations on politics is so harmful.
But capitalism allows fewer negative externalities to appear. Let me give you an example for the worker owned factory. The elected leaders incentive is not to lead a productive factory. It is to be popular and win elections. So what happens when a role becomes obsolete. Perhaps you no longer need a person to stand in an elevator and operate it for people, since it can be automated. But firing people or retraining them for different role is unpopular, so the boss is incentivised to keep elevator operators. This means these people are not allowed to find jobs that are actually productive in improving the standards of living for everyone. People don’t like being fired when their position becomes obsolete but it is necessary to develop economies and advance civilization.
Another example is investment. When the factory has surplus profit, should he increase the wages of the employees immediately or invest the money into improving the productivity by buying better equipment or building another factory site? What about maintenance? Should he increase wages and delay the maintenance until it is someone else’s problem? Which will be more popular? By the way, this delayed maintenance issue is why public infrastructure is crumbling almost everywhere, since that is overseen by democratically elected leaders.
Capitalism prevents these issues from happening in the first place, since the owner gets a share of the factory output. He is incentivised to make the factory productive. And everyone below the owner is incentivised to help the owner increase productivity since the owner ultimately decides if they are fired or get raises and bonuses. This tends to fall apart when you have short term investors or reintroduce elections of CEO via shareholders. This is why privately owned companies like steam, costco, etc. are usually so much better and rarely get enshitified compared to corporations.






You are reversing cause and effect. Productivity is rarely affected by bottom level employees to a significant extent these days. That is why there is no pressure for wages to keep up. Your own graph proves productivity is going up despite your claim of unmotivated employees.