I would guess it doesn't just use a few of the same resources, but a lot of them by the looks of it.
I doubt it and lets not forget that now the file size of League of Legends also has to get bigger for those players who play League of Legends but don't play TeamFight Tactics.
Who knows maybe they will do a separate program in the future, but to launch it using all the same resources from their perspective is actually really smart and probably costs them a lot less to develop considering it is beta still.
Company making loads of money is going to be cheap and not release a separate game that is already successful? Sounds greedy rather than smart and yet there are people defending them for doing it.
But for the TONS of players who are playing both, this makes a very seamless play between the two.
Evidence of this? Most of my friends went back to League of Legends for TeamFight Tactics, not League of Legends.