Two legacy tech giants are both rebuilding from the inside out, but one is quietly compounding cash while the other bets ...