Box Inc’s quarterly revenue topped Wall Street estimates on Wednesday and the company reported a smaller-than-expected loss as the cloud storage provider added more customers.