Social media bosses who fail to stop illegal knives being advertised on their sites could face fines from police under Government plans.