The Mecha Empire was secretly controlled by Queen Yin, who arranged for the Heartless Valley to come to help in the battle. He also asked the masters of the Demonic Dao Sect to assist him. Presumably this is a battle that the gods regard as their core interests. Queen Yin will never allow the Sky Tower to be taken away by the Starry Sky Empire again....