EM stated 4.5 years ago that he was building a "universal factory."
a computationally reconfigurable factory that can manufacture any product, including copies of itself, is called 'universal' for that reason.
Don't know if Musk was joking or not, or if, at this stage of our development a universal factory is feasible engineering goal.
Most scientists in the field dismiss (anon spoke to several) the possibility.