The idea of loanee's for Premier clubs is squad cover, not to improve them for their home club.
It’s a 2 way street. The parent club gets league minutes for the player, the club that loans the player is hopeful that they improve their squad.
If the player does well, he obviously is an improvement/worth more money, for the parent club.
No one would have bought Guehi if he hadn’t performed at Swansea. Gallagher had a load of loans , gaining experience, before he was ready for Chelsea.