Did they? It sounds like they had access to confidential Apple documents, which allowed them to rewrite their patent in a way to make it look like Apple infringed on technology they invented. Remember, the point of a patent is to disclose new inventions.