Carlos Sainz's Ferrari left a dent in the wall after making contact with the barrier in practice ahead of the Azerbaijan Grand Prix.