From @schlessera wp-cli/media-command#62 (comment)
I'd like to first investigate whether we cannot just replace the global variable $wp_object_cache that contains the current WP_Object_Cache instance with a sort of dummy cache object that just not stores anything for these commands.
Utils\wp_clear_object_cache() currently used in wp import and wp export.
wp media regenerate and wp media import are other candidates for dummy WP_Object_Cache use.