There is no evidence anecdotal or otherwise to back this assertion.
Many stores near me appeared to cut cashiers before they added self-checkouts. If anything, adding self-checkouts increased the number of available options to get out of the store faster.
I'd place my bets on curbside pickup getting pushed more before cashiers get added given how popular it's become as an option.