A Japanese passenger plane has been grounded after it sucked a metal luggage container into one of its engines.