Tech for optimising and autonomising factory production