No they cant be mechanical because then something would have to generate their rays through the inventing of a machine.
Jupiter, Saturn, Uranus, and Neptune.
...unless environmental changes occur. These probable environmental changes could influence the supply of food, the condition of shelter and the environment to sustain life and support the population.