Uber is a taxi company, according to a landmark ruling from Europe's highest court.