A very different thing than I usually post: an Only 1 Command! I do not have the required skills to do this, but the talented IJAMinecraft certainly does! Originally made for 1.9 and 1.10, I have modified this command to work in 1.11!
WARNING: This has not been tested yet, but from what I have read about newer versions of the game, this should work fine.
Original Command link: https://ijaminecraft.com/cmd/1.9_furniture/
EDIT: Whoops! This command finally works enough to summon the machine, but the part that allows it to give spawn eggs is still a work in progress. Why, Mojang, WHYY?!