Samsung’s mounting crisis is opportunity for Apple, Google