China and the US are vying to put people on the moon for the first time in more than 50 years in a contest that is as much about economics and geopolitics as it is about technology.