They hire researches to discover new algorithms and efficiencies, they manufacture mining gear based on such optimizations, they sell such mining gear to the public, they mine with it and they run a mining pool.