Not true regarding SpaceX, they were just cheaper and better than the competitors. They had to sue the government to even be able to compete against Boeing/Lockheed for military contracts. Who had more friends in the government in the 2010s, SpaceX or Boeing/Lockheed? In 2014, NASA awarded two contracts to develop spacecrafts for transporting astronauts to the ISS (at the time, American astronauts flew to the ISS only on Russian Soyuz). SpaceX received $2.6B (for Dragon), Boeing received $4.2B (for Starliner). Since that time, SpaceX has made 11 operational flights with astronauts to the ISS, while Boeing has made 0 (they're still working on it). It's not friends in the government, it's delivering services faster and for a lower price.