That issue becomes a logistics issue. You can pay one worker in Bangladesh to oversee the machine, or you can pay one worker in the US (or Europe) to oversee the machine.
But, if your target market is US (or Europe) you've got shipping costs to get your finished shirts to the US (or European) market. If the machine is in the US (or Europe) those shipping costs are substantially lower (and with much less latency).
The lower latency (meaning you can sell shirts in a more "on-demand" manner) and much lower shipping costs might well outweigh the labor savings of the Bangladesh worker overseeing the machine.