Well, to be fair to evolution, surgeries weren’t really on its list of considerations. With no surgeries to the neck/chest it won’t be a problem at all. Most of us, including giraffes, have no problem with it and it works flawlessly. Is it a detour? Yes. But it works, and that’s the only thing that matters in evolution.
I can see that you’re new to the Internet. Welcome!