No. The quotation in Surah al-Jinn does not show that the jinn produced a surah like the Quran. It shows that Allah can include created beings' words within a revelation whose wording, arrangement, and complete composition remain His.

The objection in its strongest form

The objection is not merely that the Quran mentions the jinn. Surah al-Jinn presents their speech in Quranic Arabic, and that speech is now part of the Quran. A critic may therefore argue: if jinn can utter words that Allah incorporates into the Quran, then created beings have already produced Quranic discourse. The same reasoning could be applied to the speech of humans, ants, birds, or Satan quoted elsewhere.

That is a serious observation, but it depends on sliding between two different meanings of "Quranic." A statement can be present in the Quran because Allah chose and revealed it, without its original speaker having composed the surah, its structure, or its surrounding argument.

What Surah al-Jinn actually says

Say, "It has been revealed to me that a group of the jinn listened and said, 'Indeed, we have heard a wondrous Quran. It guides to the right course, so we have believed in it, and we will never associate anyone with our Lord.'"

Quran 72:1-2

The passage begins with Allah's command to the Prophet Muhammad (PBUH): "Say." Allah identifies the event, frames the report, selects the words, and places them within a carefully ordered surah. The jinn are speakers inside the revelation; they are not presented as authors of the revelation as a whole.

There is also no requirement that Allah's Arabic report reproduce the jinn's original wording in another language. Even if one holds that the jinn spoke those exact Arabic words, the point still does not follow. Producing a few meaningful sentences is not producing a complete surah matching the Quran in its composition, coherence, rhetoric, knowledge, and guidance.

What the challenge does and does not claim

Or do they say, "He invented it"? Say, "Then bring forth a surah like it and call upon whoever you can besides Allah, if you should be truthful."

Quran 10:38

The challenge is to produce a surah like the Quran, not to utter a sentence that Allah later quotes. Ordinary words and isolated statements can be shared by people and the Quran. Inimitability concerns the entire constructed discourse: its wording, arrangement, meanings, force, and integrated purpose. The Quran states the challenge universally:

Say, "If mankind and jinn gathered together to produce the like of this Quran, they could not produce its like, even if they backed one another."

Quran 17:88

Thus, the quotation establishes only that created beings may be speakers whose words Allah reports in the Quran. It does not establish that they authored a Quranic surah or met the challenge. The distinction is between a speaker's utterance and Allah's encompassing act of revelation and composition.