Economy of scale, Lego can invest the billions(?) in machines and molds that don't leave connection points (?), partially by reusing pieces between sets.