Quantum mechanics from time scaling and random fluctuation