Powerful earthquake struck southwestern Japan, causing fire near its epicenter and knocking out power to thousands of homes.