Tenerife has no land borders. It's an island in the Atlantic Ocean, ~300 km off the coast of Morocco (Africa).
Politically: Tenerife is the largest of the Canary Islands, an autonomous community of Spain. So Spain is the sovereign state—but "next to" implies adjacency, which doesn't exist for islands.
Nearest foreign territory: Morocco (southwest, ~300 km). Nearest Spanish territory: Mainland Spain (northeast, ~1,300 km). Other Canary Islands (Gran Canaria, La Gomera, La Palma, El Hierro) are closer neighbors.