Just as this Tradition tells us that every man is born with the natural capacity for Islam and true faith, but his parents adulterate and destroy that capacity, and put him on to the ways of disbelief, in the same way the phrase 'except that they should worship Me' could mean that every member of jinn and mankind has the natural, inborn capacity to worship Allah, the Pure and Exalted, knows best
Answer to the second question is that bringing any creation into being for the purpose of worship does not necessarily imply that they are unfit for other functions of life This is the view of Dahhak, Sufyan Thawri and others

قول الله تعالى: وما خلقت الجن والإنس إلا ليعبدون

Tafsir Mazhari gives a plain and simple explication of this verse: Allah has equipped every jinn and man with the innate capacity to worship.

9
معنى العبادة والمراد من قوله تعالى: وما خلقت الجن والإنس إلا ليعبدون
It is obvious that the believers are more or less steadfast to worship
معنى العبادة والمراد من قوله تعالى: وما خلقت الجن والإنس إلا ليعبدون
Scholars have made different approaches to solve these problems
سؤال مهم عن هذه الآية(وما خلقت الجن والإنس إلا ليعبدون)
This version supports the view that the verse is only in connection with the believers Some of them exercised their God-given free will correctly and chose to worship Him, but others used their God-given free will incorrectly and deviated from worshipping Him
Some use the capacity rightly and succeed, while others employ it wrongly in sinning and fulfilling their base emotions, and thus destroy it " According to the majority of the scholars, fitrah here refers to the religion of Islam

آیه 56 سوره ذاریات

[ 2] The purpose of jinn's and man's creation has been restricted to the worship of Allah whereas there are many other underlying reasons and benefits in their creation.

17
أثر العبادة على الفرد والمجتمع
This apparently may raise two questions: [ 1] If Allah has created a creature for a particular task, and it is His will that it should perform that task, rationally it is impossible for it to deviate from that task, because doing anything contrary to the will of Allah is inconceivable
معنى (وما خلقت الجن والإنس إلا ليعبدون)
Some say that this verse pertains to the believers only, that is, only believing jinn and believing mankind are created for worship and for no other task
قول الله تعالى: وما خلقت الجن والإنس إلا ليعبدون