As I understand from those videos, a D-check basically consists in disassembling the whole aircraft, inspecting every little piece, and then reassembling it. For me, the last part seems to be more or less the job of aircraft builders, and thus its costs may be comparable to the lasts steps of building an aircraft. Thus the cost of a few D-checks may be the same as building an aircraft.
Counted in D-checks cost, how many D-checks does a newly built aircraft cost?
Let's focus on airliners. If needed, the question may be narrowed down to best sellers (lets say B737 and A320).