Many states outlawed slot machines at the beginning of the 20th century. Fruit machines were invented as a result of manufacturers scarab slotsredesigning the machines to dispense gum & candy as prizes in order to get around these prohibitions. Midway through the 20th century, slot machines saw a comeback in popularity in casinos, and they have remained a mainstay of gaming establishments ever since.