The original story was that Fortnite had lootboxes for a few years (in that time where most of the industry was trying it out after Valve and Blizzard saw success). Fortnite is where the "lootboxes are gambling" debates really hit the high gear.
sometime in 2019 that random aspect was removed, however. To my knowledge, there is still a rotating shop of skins to purchase with premium currency. But you know what you are getting now. It's not too much different from how free MOBA's monetize their games with a bunch of cosmetic skins.