Mysterious cosmic 'heartbeat' detected billions of light-years from Earth