Investors’ euphoria over tech stocks gives way to inflation fears amid rising bets on a US rate hike this year.