I did it by using this solution link https://toolset.com/forums/topic/types_render_field-with-argument-output-raw-still-renders-does-shortcode/
$platforms = get_post_meta(get_the_ID(), 'wpcf-platforms-logo', false);
Note: The issue was that I was passing the custom field name
platforms-logo without using the prefix
wpcf-. When I used this custom field name
wpcf-platforms-logo with the prefix
wpcf-. It returns the required array as I was looking.