Roblox on Wednesday reported a first-quarter loss that was wider than a year earlier and wider than analysts expected, but the company pointed to future cost-saving initiatives.