China is quietly building an extensive legal framework that could transform its civilian economy into a military machine at Beijing’s command. The move...