A magnitude 4.7 earthquake struck near Naples, causing power outages and building damage.