Walmart is adding hardware and home offerings as it expands its private brands at a time when consumers are feeling financial pressure.