Walking and cycling down this narrow road is not necessarily to get to the beach.
This justifies what answer for what question? Q & A:
Given the sentence "People are walking and cycling down this narrow road surrounded by grass." is it true that "People walk and bike down a street to get to the beach."?
it is not possible to tell