Last Boeing 787 from U.S. lands in Japan after both countries ground aircraft