The correct sentence is:
D. The bike on the bike rack is blue.
The other sentences have subject-verb agreement errors:
A. "were" should be "was" (singular subject "surface"). B. "has" should be "have" (plural subject "sidewalks"). C. "belongs" should be "belong" (plural subject "cars").