They gained it back by basically giving Teams away for free and getting companies to say "we're already paying for this bundle, so let's stop paying for Zoom/Slack." They still missed out on billions which they'll try to claim back over years of slow price raises (until the competition lowers prices and/or becomes more competitive).