Japan's digital transformation is entering a new phase as many enterprises begin replacing legacy systems built decades ago.