Nikkei 225 surges 5% to near all-time high as chip stocks rally