Three years since the pandemic upended the economy, here are the Massachusetts public companies that made it through in the best — and worst — shape.