A 17-year-old boy has suffered serious injuries after falling off a cliff in Sydney's inner west while allegedly running from police.