A Dungannon-based food company has made a £6.3m investment to expand its factory, enhance automation, and boost productivity.