John Browning, who produced most of the "modern" gun mechanisms, died in 1926, about the time that electric motors were becoming commonplace in factories.
Today there are folks making very functional guns with hand tools in very primitive conditions.