Gaming platform Roblox will pay over $23 million and implement sweeping safety changes after investigations into child safety failures by two states.