Japan’s second largest city, Osaka, has begun testing autonomous AI agents in local government in an attempt to ease the country's shrinking work force.