Tech companies are increasingly wading into finance, raising regulatory questions.