New Zealand dairy giant Fonterra is to build a plant for its consumer brands on sale in Indonesia.