Diverse is a synonym of Unlike. Unlike is the opposite of Like. Like is related to Danger. 
Electricity is related to Motor. Motor is related to Machine. Machine is related to Mechanism. Mechanism is a type of Device. 
Diverse <--Synonym--> Unlike <--Antonym--> Like <--RelatedTo--> Danger 
Electricity <--RelatedTo--> Motor <--RelatedTo--> Machine <--RelatedTo--> Mechanism --IsA--> Device 