It indirectly comes from shareholders. Money gone to pay fines isn’t distributed by dividends. Theoretically, this hurts shareholders by decreasing the value of a share, since the company is worth less money after paying the fine. However, assessing a fine that shareholders have to pay out of pocket would trample the concept of limited liability and cause financial panic. I remind you that it’s not only rich people that are Amazon shareholders.
I understand the sentiment but this is a pretty uninformed take.