Ayers Rock (Uluru) is a rock formation, not an airport. The nearest airport is Ayers Rock Airport (Connellan), ~20 km away.
Flight time from Sydney to Ayers Rock Airport: ~3 hours 10 minutes.