Well that is not my experience. My first task as an intern, decades ago, was performing a useful task for the company that hired me. I did a mediocre job at it and it took me way longer than it would take one of the experienced engineers there, who would have done it better. That was expected because I was an intern.
With the tools available now, I would have been able to produce things of higher quality and faster, I don't deny that. But putting that code in production without an experienced developer reviewing it thoroughly would have been reckless. And they would have been the owners of that code, not me.