A 6.4 magnitude earthquake has shaken central Chile but there have been no immediate reports of damage and a tsunami had been ruled out.