This closeup of the 8086's die with the metal removed shows the underlying silicon and the polysilicon wiring. The "doping" pattern of the silicon controls whether or not each spot in the grid has a transistor, and thus specifies the data in the ROM.
A big computer architecture debate of the 1980s was RISC vs CISC, arguing that building Reduced Instruction Set Computers was better than Complex Instruction Set Computers like the 8086. Most instruction sets since then are much easier to decode than x86, but x86 keeps going.