Deep inside China, one of the country’s oldest state-owned companies has built a 10-story-high machine that Chinese leaders hope will help it take on Boeing, the U.S. Air Force and even the U.S. space program. But a close look at Sinomach’s business here shows it is bleeding red.