by the time apollo 11 lifted off from cape canaveral , fla. , on july 16 , 1969 , the united states had spent $ 24 billion on space and lost three astronauts in a fire during a rehearsal on the launch pad .