Proposal has been put to cabinet to allow AI companies to mine content, in exchange for investment and $350m fund to compensate artists, sources say