A powerful 8.3-magnitude earthquake struck off Chile, killing eight people and forcing the evacuation of a million.