Same as the society solved allocating humans. Instead of them being bought and sold on slave markets, nowadays we have companies leasing humans in exchange for a salary. You can do the same with land - lease it instead of giving asay infinite time ownership rights.