A magnitude 6.5 earthquake rocked Davao city in the Philippines, causing previously damaged buildings and homes to collapse.