You don't need the Mach Bike the first time you go up it, the cracks don't appear until the Groudon and Kyogre fight stops.
Also, you need to start driving with the Mach Bike from at least 2-3 tiles away to get speedy enough to get across the cracks. Otherwise you'll fall through.