Seems that CNDB (Cisco Nexus Data Broker) uses LLDP data to build the topology. That means if you have any LLDP traffic passing through TAPs which CNDB switch is connected to, corresponding devices will be added to the topology.
As an option to hide unneeded devices is to manually configure flows to drop LLDP traffic on ports which are not supposed to connect to other CNDB switches. However this is not scalable and you miss traffic.