Japan will face a shortfall of 3.39 million workers in fields related to artificial intelligence and robotics in 2040, according to estimates by the Economy, Trade and Industry Ministry.