Owners of smaller firms in Japan have struggled for years to hand their businesses off to a buyer or successor. Teamshares, an American startup with backing from Mitsubishi UFJ Financial Group, is seeking to change that by offering financing for workers to become stakeholders.