The brewing giant has halted production at most of its factories in Japan after suffering a system failure caused by a hack.