Does business internal software need to be optimized?
Need to be optimised for what? (To optimise is always making trade-offs, reducing some property of the software in pursuit of some optimised ideal; what ideal are you referring to?)
And I'm not clear on how that question is related to the use of LLMs to generate code. Is there a connection you're drawing between those?