The apprentice pays for it by receiving lower wages until they're officially qualified. OJT often works out that way.