Those are called "roof finials." They're typically made of metal and are used to adorn the tops of buildings, especially.