Indonesia’s largest e-commerce platform said it was investigating an attempted hack and claims that the details of millions of its users had been leaked online.