I believe object Pokemon are supposed to be the result of human activity. Golett and Golurk were created by humans, and have some kind of spiritual energy to power them up. The Klink family apparently showed up about 100 years before the events of Black and White, most likely appearing with the advancement of machinery. Drifloon I think are supposed to be ghostly creatures that happen to look like balloons.