The federal government is moving in on tech giants to force them into commercial agreements with Australian media outlets.