Japan's wholesale inflation hit 6.3% in May, driven by energy shocks and Middle East tensions, significantly exceeding market expectations of 5.5%.