Riot Games, the developers behind Valorant and League of Legends have laid off a significant chunk of their workforce.