Selaam biraderam, chitor aasti?
If you are an Afghan, then, let me be the first one to apologize for Pakistan ignoring the Panjshiris, Farsiwan, Hazaras, and using colonial methods of only supporting the majority like it did in its own country with Pakistan where it supported the Punjabis (who turn out to be only 30-40% in number after the Seraikis lost the Punjabi label. If we remove Hindkowans, Pothwaris and Kashmiris, then the numbers go even lower than the original 60% we were told, the "majority" Punjabis were).
You see, the British colonial philosophy was to support the minorities of a country to maintain relations with it and India continued this philosophy in Sri Lanka and Afghanistan (including India, itself, where only a minority of Hindi-speaking, North Indians rule the country - How did that turn out everywhere, including India? You can see, for yourself).
However, recently, Pakistanis met with the Afghan government and addressed their concerns. The Hazara, Tajik and Uzbeks were communicated with and mistakes of the past had been rectified. No "community" can be supported as Afghanistan is one nation-state and all political parties in their manifestos for the coming election have stated that they do not believe that Pakistan should interfere in internal affairs of Afghanistan, like in the past.
With that said, the only road China made was Karakoram highway in the Northern areas that it had made for it's own transportation. As far as the Railways and other factors that you mentioned are concerned, then you have to understand that Pakistan was not a developed part of British India and whatever development we had to do, we did ourselves, because during partition, the Indians did not give us our fair share, out of bigotry and hate.
We built Islamabad from the ground up and our bureaucracy didn't even have paper supplies so branches from trees were used as pins and pens. This is a very important and dramatic part of our history. Conversely, India had it's entire country, left by the British, as is. What you see now, was developed by them and since then, their capital, Delhi, has had absolutely no new upgrades as it stayed just like it was given to them since 1947.
Like our ancestors built the Taj and Char Minar, we built one of the biggest Mosques in Pakistan with Turkish and Saudi collaboration.
Despite the claims of Modi's Gujarat, there is absolutely no development in Surat, a major port there and even other parts that border China have absolutely no comparison to what China has achieved in its infrastructure.
Afghanistan also had nothing and till date, it's only achievement is the Kabul Palace.
We are a new nation and starting to develop but due to our dark ages under Bhutto, we have suffered a lot. Bhutto was the one who supported Hikmatyar and distanced us from East Pakistanis so much that they ended up making Bangladesh.
Prior to the Bhutto-era, when Ayub Khan, an ethnic Pashtun was in power, Pakistan was known as the Asian Tiger under Ayub and even Seoul, South Korea was made in Karachi's impression.
I mentioned his ethnicity because Farsiwan Afghans believe Pashtuns have some issue with them but they don't. Most, normal and every day Pashtuns are peace-loving and do not have clever designs at taking over the world or even Afghanistan - the problem was with Bhutto who tried to play religious and ethnic politics in a neighboring country.
His ideological son, Zardari, who is now, illegally in power, has sent us back 50 years and destroyed every last thing we had achieved in the 2000's. He is playing ethnic politics in Pakistan, including Karachi, just like Bhutto, where you see countless murders everyday including those associated with religion (but that is much deeper because the conflicts involving Shiites are taking place all over the Middle East and what we see happening in Pakistan is an extension of that).
Lastly, if you're an Indian Muslim and have a poster of Ahmad Shah Masood because it is acceptable to the Indians, then I sympathize with you because I understand the mood in India when it comes to those who they look at with suspicion and through xenophobia.
Like in America where Obama won, one day, civil rights will also have a victory in India and people like Salman Khurshid and Simranjeet Singh Mann will not be rebuked for speaking for the rights of their respective communities.