But we still have the non-functional GULO pseudogene in our DNA. Every part of the vitamin C pathway is still present, except for that one broken step.
If you inject L-gulonolactone oxidase into your liver, you will produce vitamin C. Evolution didn't decide to save energy. It decided that if the users don't notice the bug before the warranty period expires, it isn't worth working the issue.