Typhoon Chan-hom lashes Japan's Okinawa island chain as it pushes towards Taiwan and onto China, leaving at least 23 people injured.