Best Buy topped profit estimates in its latest quarter but also said consumers are spending more cautiously.