The simplest answer is probably that we stopped spending 90% of our effort as a species on feeding ourselves. And sure, a lot of that freed up labor went to people becoming car salesmen or yoga instructors, but a lot of it also went to people becoming scientists and engineers.