Asda has warned major spending plans will eat into its profits, after pledging to cut the prices of thousands of products and revive its stores in a bid to win back shoppers from rivals.