Presumably, each link in a food chain consists of one species on Earth.
The number of species in nature can not exceed the number of creatures of all species.
Assume that each creature requires some finite, non-zero volume of space on Earth; therefore, there is a minimum volume that all creatures each requires.
An infinite number of creatures would occupy infinite space.
Earth has not infinite space, albeit it seems very large to finite creatures like you and me.
Therefore, no food chain on Earth can have infinite links.
Elements exist as isotopes in nature. So their atomic weight is not a whole number.
Yes, The elements hydrogen, nitrogen, oxygen, and sulfur are all molecular elements that exist in nature. Due to their reactivity, it is rare to find the halogens and phosphorus in their elemental forms in nature.
No; infinite also doesn't exist (probable with the exception of the Universe).
because it's an average of various isotopes, in proportion in which they exist in nature
The Short Answer is: in a balanced, eco-friendly Ecosystem there is an equal number of producers as there exist consumers.