Free navigation apps on smartphones wreaked havoc for the makers of standalone GPS devices.