A powerful earthquake struck Chile on Wednesday night, killing at least five people, authorities said, and triggering tsunami advisories as far away as California.