An unusual public spat between Amazon.com Inc. and Sen. Bernie Sanders over workers’ wages escalated Wednesday as the Vermont independent introduced a bill aimed at taxing big companies whose employees rely on federal benefits to make ends meet.

Mr. Sanders specifically targeted Amazon founder and leader Jeff Bezos, contrasting his vast personal wealth with the compensation of the companies’ lowest-paid workers.

The...