Apple has filed a patent application for iPhone packaging that can be turned into a dock for your device. It’s just a patent application, so we don’t know if it will ever happen.
Someone at Apple probably just came up with it on their extra time and a patent was filed for one legal reason or another.
Maybe they just figured they would cover it before someone else started doing this. The box would have to be very awesome for me to want to use it as a dock, though.