The vast majority of STEM PhDs are not staying in academia. The handful of recent grads I know who did stay in academia are, as I would put it, in academia-lite. They're in industry and privately sponsored positions or institutes, that pay quite well. Take a look at, say, the Broad Institute at MIT or the Allen Institutes in Seattle. Both are large, academic institutions that pay industry competitive wages.