It is genuinely useful for people with limited programming experience to write simple scripts that will never be released in the wild.
That market is way too niche to justify the billions needed to achieve that result. Companies should just have professional human coding assistants.