During World War I, which nation quit the war because of revolution on the home front, and because it lacked the industrial power needed to match the weaponry of its enemies?