Panicked people rushed into the streets when a powerful earthquake shook northern Italy early on Sunday, killing three people and injuring at least 50, emergency services said.