The tissue grafts could take over the organ’s functions for months, helping thousands of people with liver failure.