There used to be a time when you had to write in assembly and count bytes to fit your code into the vanishingly small ROM you had available.
Nowadays, you can just write in python with no care for the hundreds of thousands of cycles and megabytes of memory you are wasting.
All indications today point towards the same happening with the cost of intelligence.
A very many of us do care for the cost.
There’s also a very significant difference between “choose python” and “completely ignore all existing material and reinvent visualisation”.
Also, by all indications the costs of LLMs are _rising_ not falling as the tech progresses.
The principle that you should not reinvent the wheel (unless there's a good reason to) has not changed.
Code is a liability. Even if it is a small cost (in terms of time and money) at the time when code is generated, it can be a huge burden later, especially when you think about security vulnerabilities.
If this happened during my work, I would be very mad -- I would absolutely reuse an existing tool instead of expecting Claude Code to come up with its own half baked, bug ridden implementation of a common tool. Any (capable) human developer would have stopped and discussed with the team how to proceed.
In fact, I cannot tell how many times similar situations have happened where LLMs "made a decision" without consulting with me.