Swiggy has offloaded its entire 12% stake in Rapido for about $270 million through two separate deals.