Japan set to penalise firms with foreign joint ventures