Please note that a simple product could be a part of multiple configurable products at once.
Details: How is \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable::getParentIdsByChild() implemented and used?
\Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable::getParentIdsByChild()