The Saudi military has intercepted and shot down a long-range ballistic missile over Riyadh, fired from Yemen.