The "slot machine" term derives from the slots on the machine for inserting and retrieving coins. "Fruit machine" comes from the traditional fruit
tiki runner 2 slot
on the spinning reels such as lemons and cherries.
The Danish word slot , like the word schloss in the related Germanic language  modern German  can mean either castle, a Country house or palace, in accordance with common English usage.