Subaru maker Fuji Heavy Industries is to stop producing minicars to concentrate on more profitable small and midsize models.