What are they of each other?
They are unrelated.
Edit:
DI is a conecpt first described by Martin Fowler, OSGi is a module system for Java that implements a complete and dynamic component model specified by the OSGi Alliance.