Multifunctional apparatus for automatic manufacturing of various chemical products