Thousands of drivers on ride-hailing and food delivery app Bolt have won a legal claim to be classed as workers.