Also Italy is historically horrible terrain to conquer and control, the French who were closer and had more resources struggled, the Ottomans could very easily bankrupt themselves trying.
To be fair to France, they had rivals for the prize in the form of the Habsburgs and the Papacy (whose influence was well beyond it's territorial size), and Castile/Aragon did hold quite a bit of Italy for a long time.