Anledningen till att Google lägger ned så många produkter – och varför Apple inte gör det