Wales put Eddie Jones' Japan side to the sword to win 40-10 at Allianz Stadium Twickenham and complete their Nations Championship campaign.