HR’s closest department in responsibility is Legal, both serve to protect the company, not its employees. So I can see the argument that you don’t need HR if you have a legal department, have it train managers to handle employee grievances properly, and let each manager deal with vacations, sick leave etc as they see fit.
And finance can handle ordering computer equipment and network management services, get rid of IT as well.