The story
From meat + bag. The use as a slur for organic lifeforms – as opposed to robots or AIs – originated with the robot Bender from the animated TV series Futurama, but it became still more popular with its use by killer droid HK-47 from the Star Wars fictional universe.
Etymology from Wiktionary, CC BY-SA 4.0.