Apple has opened both Siri and iMessage to developers, taking advantage of the significant interest in voice-based services and next-generation messaging to attract marketers and breathe new life into the iPhone.