Japanese households are spending more on digital purchases within video games even as inflation pushes them to rein in other expenditures.