Japanese electronics giant Sharp will put an end to domestic production of appliances and focus on AI and IOT-related products.