The Brezis-Nirenberg problem for fractional systems