Fundamental physics with the Square Kilometre Array