It is not illegal for owners or managers to receive tips for work they perform. If the manager is waiting a table, they can receive that table’s tips.
Where the restaurant is owned by the workers, an individual worker-owner will still collect the tips for the work they perform. An owner who is not working that day has no claim to tips earned that day.