If you work at a big bay area tech company, between a third to half of those 300k/yr are actually in equity (stocks), so step 5 is sort of already done for you. There's also ESPP that lets one buy even more stock at a discount, which is basically free money.
However, taxes and cost of living are also incredibly high, so realistically you're probably not going to be saving 200k/yr (though you could probably still save a cool 100k/yr without much trouble).