In the US, this last step is not BP. The gas station is almost certainly not owned by BP, but rather pays BP royalties as a franchisor, and also does not buy oil from BP directly, I believe a gas station operator buys from separate trucking businesses that contract with refineries (that may or may not be owned or operated by BP) to deliver the oil to the gas station.
That's just vertical integration, a lot of companies do it to varying degrees. For example there is a long history of power plants owning coal mines. Bell, at one point in history owned the mines that produced the resources they used to make their telephones!
VAT is not a sales tax but a tax for the full chain of added value.
BP as a whole should be responsible for the cleanup cost, around wells and of the air.
The point is to ensure that all of the "unprofitable" but necessary precursors to the small fraction of the business that makes all the money, spooling up established and productive wells during favorable market conditions, are coordinated to maximize those conditions in the face of the uncertainty of industrial prospecting, rather than the interests a contractor might have. In such a skewed-return field, other strategies risk over-fitting; it'd be like if you saw the housing collapse coming in 06 or so and responded by trying to target your retirement investments against a granularity level of individual regional banks. Just shorting an index will pay out far more on average, even if it's more "inefficient".
The BP company that owns the exploration rights pays BP to determine the feasibility, then BP pays BP to extract the oil, then BP pays BP to ship the oil, then BP pays BP to refine the oil, then BP pays BP to distribute the refined products, then BP pays BP to fill the tanks at the bowsers, then we pay BP to fill our car, and every one of those BP segments makes a margin.
So yeah, I agree, just because a drilling operation looks like a loss in isolation, unless you view it in context of that entire vertical integration, you're missing the woods for the trees.