A major earthquake has sent shockwaves across three states, triggering urgent shelter in place warnings for millions of Americans.