A powerful 7.7-magnitude earthquake struck off Indonesia, damaging buildings and sending people running for safety as the shaking was caught on camera in Maumere.