Elinvar effect in β-Ti simulated by on-the-fly trained moment tensor potential