Socialist ideas is to move away from the idea of private ownership. Everything is owned by the “people” in collective (which in practice often means the state). You don’t own your cellphone, your computer or your shoes. They’re all provided to you by the “people” (the state).
The roads in your example are paved by private companies in a competitive market (often funded by tax money). They may have been selected by the state to do the work at an agreed price. Next time some other private company might do the work because they compete with even better prices. This process is not socialistic.