Robinhood became the latest tech company to announce mass layoffs on Tuesday, with 23% of workers impacted.