GDP is a known silly metric, but it's easy to define and measure, so we keep using it.
I'm often reminded of the quote: "A man marries his housekeeper and that country’s GDP falls".
GDP is uncomfortably linked to granularity of measurement as well as the number of times money changes hands to accomplish a task. Split a pipeline over more businesses boundaries and suddenly GDP is "bigger" despite no change in value or utility.