The competition between Apple and Google is getting intense as the two companies battle for supremacy in the smartphone business.