Google Inc.’s Android has surged past Apple Inc.’s iPhone to become the biggest smartphone platform, attracting a crowd of phonemakers. Yet Samsung Electronics Co.’s growing dominance may threaten the software’s success and crimp sales growth for some competitors.