Take the barbell strategy — make sure to exit any less liquid investments (e.g. stock), and then extract capital from the bubble by raising money. When the market crashes, use your cash to purchase cheap assets and/or failing companies, and then work towards profitability.
Absolutely do not: become a VC, work for a startup, or place your capital into some kind of ‘growth’ fund indexed to tech. Don’t buy real estate in urban areas and don’t borrow.