A powerful earthquake shook central Mexico on Tuesday, crumbling buildings and sending thousands of people in Mexico City fleeing into the streets screaming.