Hess Corp is taking a page out of Toyota’s manufacturing book as it looks to cut costs and thrive at $40 oil.