Fear of foreign firms fuels merger that creates Japan’s largest firm