SpaceX only entered the Commercial Crew Development [1] program by winning funding as part of CCDev 2 funding in April 2011, allowing it to develop the Dragon 2 launch abort system. They later won funding form both phases of CCiCap (Commercial Crew integrated Capability) funding in December 2012. (I believe that's in-flight abort testing etc).
The technical gains (especially reusable rockets) was moved along more by the help funding Falcon 9 initially through the commercial cargo development (COTS) and International Space Station resupply (CRS) contracts (which ensured the survival of SpaceX for a few more years). [2]
Commercial Cargo was actually a George W. Bush era policy - part of his 2004 plan [3], and the CRS contract was awarded before Obama was even inaugurated!
So far, Bush's Space Shuttle cancellation did more for SpaceX than Obama's Constellation Program cancellation (though that may changes once MCT/ICT is up and running and causes SLS to be potentially cancelled)
[1] https://en.wikipedia.org/wiki/Commercial_Crew_Development [2] https://en.wikipedia.org/wiki/Commercial_Orbital_Transportat... [3] https://en.wikipedia.org/wiki/Vision_for_Space_Exploration