A 7.0 magnitude earthquake rocked Alaska on Friday, shaking buildings in Anchorage and prompting terrified residents to seek shelter under office desks.