An alternative interpretation is that Newton's theory is incapable to make statements about massless particles, but that one can in anticipation of relativity consider every energy-carrying particle to have a mass, since it is necessarily affected by gravity. However, this is clearly beyond Newton's theory.
Yes, Newtonian mechanics by itself does not make any predictions about light whatsoever.
The problem is, to say anything about light, you need a model of light to start with. Since it's not clear what model of light we should use in the context of Newtonian mechanics, it follows that it's not clear what prediction Newtonian mechanics should make about light.
The best classical theory for light as of this writing is Maxwell's electrodynamics. The problem is, this theory is inherently relativistic (it obeys special relativity not Galilean relativity), which means by its very nature it lies outside the domain of Newtonian mechanics. We can make low velocity approximations in some circumstances when we're looking at forces on massive particles (which we do all the time in introductory courses) so as to use bits and pieces of Newtonian mechanics, but there is no sensible low velocity approximation for the behavior of light itself.
So we have a couple of options for what we might want to do:
- Light as an instantaneous ray. Because this model does not specify any structure about the ray itself and Newtonian mechanics doesn't say anything about instantaneous rays, we have to conclude that Newtonian mechanics can't say anything about this. Historically, Aristotle and Heron of Alexandria thought light traveled instantaneously, but it wasn't agreed upon and it was an open question.
- Small mass corpuscle model of light. Perhaps light is a small classical particle with a very, very small mass. In that case, Newtonian mechanics works perfectly well, and we can apply John Rennie's answer with $m\approx 0$. The calculation of
$$ \theta = \frac{2GM}{bc^2} $$
is then a robust prediction of Newtonian mechanics. Something that is really important to realize about this model is that if the corpuscles are to obey Newtonian mechanics in this model, then they will not have a constant speed (but the speed will be finite). This is a major conflict with our current understanding of light.
- Massless corpuscle model of light. Perhaps light is a classical particle, but it has $m=0$. Then Newtonian mechanics does not have anything to say about this, because Newtonian mechanics is formulated specifically for massive bodies.
- Wave in a medium model of light. The prediction is entirely dependent on the interaction between gravity and the aether, which would depend on the specific model of the aether. I'm not aware of anyone discussing this, but this could be due to my ignorance.
- Electromagnetic wave model of light. As I said, Maxwell's theory of electromagnetism is inherently relativistic, but this wasn't realized until Einstein. In any case, there is no prediction for how gravity, as modeled by Newton, would influence the electromagnetic field.
The only sensible model to consider after (5) is
- Electromagnetism generalized to curved spacetime as described by general relativity. In that model, light rays (which are approximations to light waves) travel along null geodesics of spacetime. When spacetime is curved due to gravity (or perhaps we might say the curvature is gravity rather than due to gravity but I don't have the insight to say which set of semantics is better), null geodesics are altered exactly to produce the deflection
$$ \theta = \frac{4GM}{bc^2}. $$
This leads us right back to this page.
We see that models (1), (3), (4), and (5) don't say anything about the question of whether light is deflected or not by gravity per se. Only models (2) and (6) give robust predictions.
However, to justify John Rennie's post, maybe we can add an extra postulate to models (1) and (3): light takes a trajectory as if it were a massive particle with $m\rightarrow 0$. This is an additional postulate that can't be derived from (1) or (3) directly. Nonetheless, as a hypothesis I think it seems reasonable.
By Einstein's time (~1915), there were only three hypotheses known: $\theta = 0$, $\theta = \theta_{0}$, or $\theta = 2\theta_{0}$ where
$$ \theta_{0} = \frac{2GM}{bc^2}. $$
No other possibility was proposed, really. It made sense to try and test which one of the three possibilities is true.
As an aside, it's interesting to track the history of this/these predictions. Amazingly, Isaac Newton himself was the first one to pose the question in The Queries, but he made no predictions. Afterwards, people such as Pierre Simon Laplace, John Michell, and Henry Cavendish have speculated on the possibility, with Henry Cavendish making the first unpublished calculations and Johann Georg von Soldner making the first published calculations using (one of the) the corpuscle model. See [1] and [2].
Between 1905 and 1915, Einstein used arguments in the context of special relativity to argue that gravity must have an interaction with the electromagnetic field, but they were outside the scope of what people would consider Newtonian mechanics. The arguments at that stage relied on things like the strong equivalence principle and mass-energy equivalence. He managed to obtain the prediction of $\theta = \theta_{0}$ by coincidence, and it took until 1915 to predict $\theta = 2\theta_{0}$ because he didn't take the curvature of space (of spacetime) into account. See [3].