Optimal Contracting of Separable Production Technologies